touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #72942
[Bug 1448070] [NEW] shutdown -h/-r now "wall message" message does not send wall
Public bug reported:
Hi,
As far as I know, shutdown command (and other reboot/poweroff/halt
commands) are now just alias for systemctl which inits the right target,
so I am reporting this bug to systemd package.
I noted a strange thing : shutdown -h now "wall message" do not send the
wall message, but shutdown -h +<any_value> does.
I conduct this test in TTY also, it seems that when the timer is "now" (or +0), the wall is sent after shuting down services like OpenSSH, so users logged in cannot see it.
When the time value is +1 or more, the wall is properly displayed.
Step to reproduce :
Ubuntu Version : 15.04 from a fresh Released install (seems to not be
the case in 14.10 where systemd is not completely used, as all
shutdown/halt/poweroff/reboot commands are symlink to reboot and not
"systemctl").
- sudo shutdown -r now "This is a maintenance reboot as we discuss earlier, server will be back in few seconds."
-> No one of my logged user saw this notice
- sudo shutdown -r +3 "This is an unscheduled URGENT maintenance. Please save your work and prepare to immediate reboot in 3 minutes"
-> It's working.
Regards,
** Affects: systemd (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Hi,
As far as I know, shutdown command (and other reboot/poweroff/halt
commands) are now just alias for systemctl which inits the right target,
so I am reporting this bug to systemd package.
I noted a strange think : shutdown -h now "wall message" do not send the
wall message, but shutdown -h +<any_value> does.
I conduct this test in TTY also, it seems that when the timer is "now" (or +0), the wall is sent after shuting down services like OpenSSH, so users logged in cannot see it.
When the time value is +1 or more, the wall is properly displayed.
Step to reproduce :
+ Ubuntu's Version : 15.04 (seems to not be the case in 14.10 where
+ systemd is not completely used, as all shutdown/halt/poweroff/reboot
+ commands are symlink to reboot and not "systemctl").
+
- sudo shutdown -r now "This is a maintenance reboot as we discuss earlier, server will be back in few seconds."
-> No one of my logged user saw this notice
- sudo shutdown -r +3 "This is an unscheduled URGENT maintenance. Please save your work and prepare to immediate reboot in 3 minutes"
-> It's working.
Regards,
** Description changed:
Hi,
As far as I know, shutdown command (and other reboot/poweroff/halt
commands) are now just alias for systemctl which inits the right target,
so I am reporting this bug to systemd package.
I noted a strange think : shutdown -h now "wall message" do not send the
wall message, but shutdown -h +<any_value> does.
I conduct this test in TTY also, it seems that when the timer is "now" (or +0), the wall is sent after shuting down services like OpenSSH, so users logged in cannot see it.
When the time value is +1 or more, the wall is properly displayed.
Step to reproduce :
- Ubuntu's Version : 15.04 (seems to not be the case in 14.10 where
- systemd is not completely used, as all shutdown/halt/poweroff/reboot
- commands are symlink to reboot and not "systemctl").
+ Ubuntu Version : 15.04 from a fresh Released install (seems to not be
+ the case in 14.10 where systemd is not completely used, as all
+ shutdown/halt/poweroff/reboot commands are symlink to reboot and not
+ "systemctl").
- sudo shutdown -r now "This is a maintenance reboot as we discuss earlier, server will be back in few seconds."
-> No one of my logged user saw this notice
- sudo shutdown -r +3 "This is an unscheduled URGENT maintenance. Please save your work and prepare to immediate reboot in 3 minutes"
-> It's working.
Regards,
** Description changed:
Hi,
As far as I know, shutdown command (and other reboot/poweroff/halt
commands) are now just alias for systemctl which inits the right target,
so I am reporting this bug to systemd package.
- I noted a strange think : shutdown -h now "wall message" do not send the
+ I noted a strange thing : shutdown -h now "wall message" do not send the
wall message, but shutdown -h +<any_value> does.
I conduct this test in TTY also, it seems that when the timer is "now" (or +0), the wall is sent after shuting down services like OpenSSH, so users logged in cannot see it.
When the time value is +1 or more, the wall is properly displayed.
Step to reproduce :
Ubuntu Version : 15.04 from a fresh Released install (seems to not be
the case in 14.10 where systemd is not completely used, as all
shutdown/halt/poweroff/reboot commands are symlink to reboot and not
"systemctl").
- sudo shutdown -r now "This is a maintenance reboot as we discuss earlier, server will be back in few seconds."
-> No one of my logged user saw this notice
- sudo shutdown -r +3 "This is an unscheduled URGENT maintenance. Please save your work and prepare to immediate reboot in 3 minutes"
-> It's working.
Regards,
** Summary changed:
- shutdown -h now "wall message" message does not send wall
+ shutdown -h/-r now "wall message" message does not send wall
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1448070
Title:
shutdown -h/-r now "wall message" message does not send wall
Status in systemd package in Ubuntu:
New
Bug description:
Hi,
As far as I know, shutdown command (and other reboot/poweroff/halt
commands) are now just alias for systemctl which inits the right
target, so I am reporting this bug to systemd package.
I noted a strange thing : shutdown -h now "wall message" do not send
the wall message, but shutdown -h +<any_value> does.
I conduct this test in TTY also, it seems that when the timer is "now" (or +0), the wall is sent after shuting down services like OpenSSH, so users logged in cannot see it.
When the time value is +1 or more, the wall is properly displayed.
Step to reproduce :
Ubuntu Version : 15.04 from a fresh Released install (seems to not be
the case in 14.10 where systemd is not completely used, as all
shutdown/halt/poweroff/reboot commands are symlink to reboot and not
"systemctl").
- sudo shutdown -r now "This is a maintenance reboot as we discuss earlier, server will be back in few seconds."
-> No one of my logged user saw this notice
- sudo shutdown -r +3 "This is an unscheduled URGENT maintenance. Please save your work and prepare to immediate reboot in 3 minutes"
-> It's working.
Regards,
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1448070/+subscriptions
Follow ups
References