Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273907 - hal dbus policy updates refuse root access to killswitch
Summary: hal dbus policy updates refuse root access to killswitch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-12 19:55 UTC by Robert Piasek (RETIRED)
Modified: 2009-08-18 16:55 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Piasek (RETIRED) gentoo-dev 2009-06-12 19:55:19 UTC
Last policy updates remove root access to Killswitch status.

That causes some programs (which run as root) to be unable to query killswitch.

Jun 12 20:36:32 [dbus-daemon] Rejected send message, 1 matched rules; type="method_call", sender=":1.8" (uid=0 pid=25269 comm="/usr/sbin/NetworkManager --pid-file /var/run/Netwo") interface="org.freedesktop.Hal.Device.KillSwitch" member="GetPower" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=25172 comm="/usr/sbin/hald --use-syslog --verbose=no "))          


Reproducible: Always
Comment 1 Robert Hoekstra 2009-06-25 09:33:04 UTC
I can acknowledge this issue, happening with my system too:

Jun 25 11:27:52 falcon dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.7" (uid=0 pid=2809 comm="/usr/sbin/NetworkManager --pid-file /var/run/Netwo") interface="org.freedesktop.Hal.Device.KillSwitch" member="GetPower" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=2740 comm="/usr/sbin/hald --use-syslog --verbose=no "))
Comment 2 Eric N. Vander Weele 2009-07-02 21:27:22 UTC
Same here:

Jul  2 17:27:01 yellow dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.7" (uid=0 pid=14993 comm="/usr/sbin/NetworkManager --pid-file /var/run/Netwo") interface="org.freedesktop.Hal.Device.KillSwitch" member="GetPower" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=14859 comm="/usr/sbin/hald --use-syslog --verbose=no "))

Reproducibel: Always
Comment 3 Bernard Tremblay 2009-07-06 03:28:39 UTC
Same for me here.  I have it too :


Jun 29 04:23:23 pluton dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.7" (uid=0 pid=2108 comm="/usr/sbin/NetworkManager --pid-file /var/run/Netwo") interface="org.freedesktop.Hal.Device.KillSwitch" member="GetPower" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1977 comm="/usr/sbin/hald --use-syslog --verbose=no "))
Comment 4 Bernard Tremblay 2009-07-15 15:13:00 UTC
This message is flooding /var/log/messages every 6 seconds...
This greatly increase the size of the messages file.

Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2009-07-19 15:34:10 UTC
Okay, I've added -r7 that allows root access to killswitch.