Bug 29840 - No broadcast message sent for "shutdown -r now"
Summary: No broadcast message sent for "shutdown -r now"
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Lennart Poettering
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-27 08:37 UTC by Orion Poplawski
Modified: 2016-06-07 10:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Orion Poplawski 2010-08-27 08:37:20 UTC
No broadcast message is sent when you run:

shutdown -r now

Also, it would be good if a message was sent when a shutdown was cancelled:

[root@vmrawhide64 ~]# shutdown -c
[root@vmrawhide64 ~]#

Even the admin is unsure if it has been truly canceled, and the users certainly don't.
Comment 1 Orion Poplawski 2010-08-27 08:39:18 UTC
Somewhat related (let me know if I should file a separate issue though), I like it when my ssh connections are terminated when a F13/F12 system is shutdown.  Currently on F14 the connection hangs until the remote machine is back up.
Comment 2 Michal Sekletar 2012-07-23 15:12:00 UTC
Sending broadcast message now works (tested in Rawhide) and shutdown -c never broadcasted anything (tested in RHEL5/6), unless specified otherwise by setting message to broadcast, which is now not possible (according to manpage). I will work with upstream to correct this behavior, because we should not be introducing inconsistency with old behavior in cases like this one.
Comment 3 Neil 2014-07-23 07:11:02 UTC
    I have tested in Fedora 20 with systemd 208, the broadcast message works fine for shutdown -c.
Comment 4 Lennart Poettering 2016-06-07 10:29:21 UTC
Closing this, as the original issue was fixed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.