shutdown -h/-r now "wall message" message does not send wall

Bug #1448070 reported by Jonathan Marsaud on 2015-04-24
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Low
Unassigned

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,

Jonathan Marsaud (zic) on 2015-04-24
description: updated
description: updated
description: updated
summary: - shutdown -h now "wall message" message does not send wall
+ shutdown -h/-r now "wall message" message does not send wall
Martin Pitt (pitti) on 2015-04-24
Changed in systemd (Ubuntu):
importance: Undecided → Low
status: New → Triaged
tags: added: vivid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers