Bug 60393 - systemctl kexec still prints wall message on failure
Summary: systemctl kexec still prints wall message on failure
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 04:39 UTC by Zbigniew Jedrzejewski-Szmek
Modified: 2013-02-14 22:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Zbigniew Jedrzejewski-Szmek 2013-02-07 04:39:49 UTC
$ systemctl kexec
Failed to issue method call: Access denied

Broadcast message from zbyszek@fedora-15 on pts/1 (Thu 2013-02-07 05:35:59 CET):

The system is going down for kexec reboot NOW!

$ journalctl
Feb 07 05:35:59 fedora-15 systemd[1]: Got D-Bus request: org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Feb 07 05:35:59 fedora-15 dbus-daemon[413]: dbus[413]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.1245" (uid=500 pid=28325 comm="systemctl kexec ") interface="org.freedesktop.systemd1.Manager" member="StartUnit" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/usr/lib/systemd/systemd --system --deserialize 24")
Feb 07 05:35:59 fedora-15 dbus[413]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.1245" (uid=500 pid=28325 comm="systemctl kexec ") interface="org.freedesktop.systemd1.Manager" member="StartUnit" error name="(unset)" requested_reply="0" destination="org.freedesktop.systemd1" (uid=0 pid=1 comm="/usr/lib/systemd/systemd --system --deserialize 24")
Feb 07 05:35:59 fedora-15 systemd[1]: Got D-Bus request: org.freedesktop.DBus.NameOwnerChanged() on /org/freedesktop/DBus
Comment 1 Zbigniew Jedrzejewski-Szmek 2013-02-14 22:01:29 UTC
Turns out to be simple positive/negative error code mismatch.

http://cgit.freedesktop.org/systemd/systemd/commit/?id=f6bb13a


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.