Bug#898388: systemd-sysv: shutdown command always fails

Meeuwissen Olaf Meeuwissen.Olaf at exc.epson.co.jp
Fri May 11 02:11:34 BST 2018


Package: systemd-sysv
Version: 232-25+deb9u3
Severity: important

Dear Maintainer,

I have set up unattended-upgrades to reboot my machine at 04:00 when
necessary.  Internally, unattended-upgrades runs

  /sbin/shutdown -r 04:00

trying to achieve this.  This fails as evidenced by these (dated) log
messages

  Apr 25 06:55:18 easy apt.systemd.daily[38369]: Found /var/run/reboot-required, rebooting
  Apr 25 06:55:18 easy apt.systemd.daily[38369]: Failed to connect to bus: No such file or directory

I have tried running the shutdown directly from the commandline with
identical results

  root at debian:~$ shutdown -r 04:00
  Failed to connect to bus: No such file or directory
  root at debian:~$ shutdown -r
  Failed to connect to bus: No such file or directory
  root at debian:~$ shutdown
  Failed to connect to bus: No such file or directory

I had expected the shutdown to behave as documented.

I have searched the debian/changelog for 238-4 on the terms shutdown and
reboot but did not find any indication that this might have been fixed.

-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages systemd-sysv depends on:
ii  systemd  232-25+deb9u3

systemd-sysv recommends no packages.

systemd-sysv suggests no packages.

-- no debconf information

Hope this helps,
--
Olaf Meeuwissen, LPIC-2       FLOSS Engineer -- EPSON AVASYS CORPORATION
       Free Software Foundation Associate Member since 2004-01-27
    Support Free Software                  https://my.fsf.org/donate
    Join the Free Software Foundation        https://my.fsf.org/join


More information about the Pkg-systemd-maintainers mailing list