2015-04-24 10:53:38 |
Jonathan Marsaud |
bug |
|
|
added bug |
2015-04-24 10:55:59 |
Jonathan Marsaud |
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 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 :
- 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, |
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, |
|
2015-04-24 10:56:38 |
Jonathan Marsaud |
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 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, |
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 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, |
|
2015-04-24 10:59:29 |
Jonathan Marsaud |
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 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 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, |
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, |
|
2015-04-24 11:00:07 |
Jonathan Marsaud |
summary |
shutdown -h now "wall message" message does not send wall |
shutdown -h/-r now "wall message" message does not send wall |
|
2015-04-24 19:30:37 |
Martin Pitt |
systemd (Ubuntu): importance |
Undecided |
Low |
|
2015-04-24 19:31:27 |
Martin Pitt |
systemd (Ubuntu): status |
New |
Triaged |
|
2015-04-28 17:05:41 |
Brian Murray |
tags |
|
vivid |
|
2021-06-30 19:22:39 |
Dan Streetman |
systemd (Ubuntu): status |
Triaged |
Invalid |
|