Bug#810608: systemd-sysv: on shutdown, fails to inform users that the system is going down
Francesco Poli (wintermute)
invernomuto at paranoici.org
Sun Jan 10 12:25:30 GMT 2016
Package: systemd-sysv
Version: 228-2+b1
Severity: normal
Hello,
I noticed a feature that systemd seems to lack.
When the box is being shut down (reboot or halt or poweroff), users
are not notified in any way of what is happening.
For instance, any remote user (connected via SSH) is correctly
forced out of the system (provided that libpam-systemd is installed
and OpenSSH has UsePAM enabled, see bug #751636 for the long
discussion about this), but there is no indication as to why
the user was kicked out.
On boxes that have sysvinit as PID 1, the users get an informative:
Broadcast message from root at HOSTNAME (pts/0) (CURRENT TIME):
The system is going down for reboot NOW!
or
Broadcast message from root at HOSTNAME (pts/0) (CURRENT TIME):
The system is going down for system halt NOW!
Could this feature be implemented in systemd as well?
It should be easy to add an appropriate wall(1) invocation
on shutdown. I hope it can be done soon.
Thanks for your time!
Bye.
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-1-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 228-2+b1
systemd-sysv recommends no packages.
systemd-sysv suggests no packages.
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list