Bug#777348: systemd-sysv: 'shutdown -rf now' doesn't work
Török Edwin
edwin at etorok.net
Sat Feb 7 15:52:24 GMT 2015
Package: systemd-sysv
Version: 215-10
Severity: normal
Dear Maintainer,
* What led up to the situation?
Upgrade a test VM from Debian wheezy to jessie
* What exactly did you do (or not do) that was effective (or
ineffective)?
'shutdown -rf now' command doesn't work anymore.
* What was the outcome of this action?
root at debianwheezy:~# shutdown -rf now
Code should not be reached 'Unhandled option' at ../src/systemctl/systemctl.c:6316, function shutdown_parse_argv(). Aborting.
Aborted
* What outcome did you expect instead?
Either:
* rebooting the system like it used to for wheezy
* an error message that tells me that the '-f' flag is no (longer) supported
I did not expect to see an internal error in shutdown when called with wrong arguments.
FWIW if I use a truly unknown option I get a better error message:
# shutdown -z
shutdown: invalid option -- 'z'
* Workaround: use 'shutdown -r now' instead
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (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 215-10
systemd-sysv recommends no packages.
systemd-sysv suggests no packages.
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list