[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#811502: marked as done (systemd-shim fails to shutdown after switch to systemd-sysv)



Your message dated Sat, 01 Dec 2018 03:05:54 +0000
with message-id <[🔎] E1gSvbO-000HPq-8k@fasolo.debian.org>
and subject line Bug#915038: Removed package(s) from unstable
has caused the Debian Bug report #811502,
regarding systemd-shim fails to shutdown after switch to systemd-sysv
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
811502: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811502
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: systemd-sysv
Version: 228-4
Severity: important

If sysvinit-core is the active PID 1 and systemd-shim is installed and
running, installing systemd-sysv will lead to an unclean shutdown and a
dirty file system on the next boot.

Afaics, the problem is, that /sbin/{reboot,poweroff,shutdown} as shipped
by systemd-sysv does not talk to PID 1 via /run/initctl but uses D-Bus
if the org.freedesktop.systemd1 D-Bus name is taken, which is the case
if systemd-shim is installed.

Purging systemd-shim and stopping the systemd-shim process leads to
clean shutdown.

One could argue, that this is a bug in systemd-shim, which should be
able to shutdown/reboot the system cleanly when requested by tools
provided by systemd-sysv.

I'm filing this against systemd-sysv for now though, Maybe there is a
way how we can workaround this in systemctl, like say in
https://github.com/systemd/systemd/blob/master/src/systemctl/systemctl.c#L7425
add a check for sd_booted before trying to talk to systemd via D-Bus.


Michael


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd-sysv depends on:
ii  systemd  228-4

systemd-sysv recommends no packages.

systemd-sysv suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 10-3+rm

Dear submitter,

as the package systemd-shim has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/915038

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply to: