Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#12125 - networkmanager-0.7.0rc2-1 dbus issues

Attached to Project: Arch Linux
Opened by Shem Valentine (xvalentinex) - Saturday, 15 November 2008, 01:55 GMT
Last edited by Allan McRae (Allan) - Thursday, 04 December 2008, 11:33 GMT
Task Type Support Request
Category Packages: Testing
Status Closed
Assigned To Jan de Groot (JGC)
Architecture i686
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: There seems to be a permission issue with networkmanager from testing. At first trying nm-tool as root would give me similar errors as below. Restarting the service didn't seem to be working either. Sending sig HUP to the process /usr/bin/dbus-daemon --system resolved the issue for root. However, I am still getting the error below as my normal user. I'm not very good with dbus permissions and such, so I apologize if this is just a user error.


Additional info:

Error running nm-tool as user:
** (process:6956): WARNING **: _nm_object_get_property: Error getting 'WirelessHardwareEnabled' for /org/freedesktop/NetworkManager: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.DBus.Properties" member "Get" error name "(unset)" destination "org.freedesktop.NetworkManager")


** (process:6956): WARNING **: _nm_object_get_property: Error getting 'State' for /org/freedesktop/NetworkManager: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.DBus.Properties" member "Get" error name "(unset)" destination "org.freedesktop.NetworkManager")


NetworkManager Tool


** (process:6956): WARNING **: _nm_object_get_property: Error getting 'State' for /org/freedesktop/NetworkManager: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface "org.freedesktop.DBus.Properties" member "Get" error name "(unset)" destination "org.freedesktop.NetworkManager")

State: unknown



NetworkManager appears not to be running (could not get its state).


Steps to reproduce:
Update to networkmanager-0.7.0rc2-1 from testing.
Send HUP signal to dbus-daemon process
Restart networkmanager daemon
Run nm-tool as normal user.
This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 04 December 2008, 11:33 GMT
Reason for closing:  Works for me
Comment by Jan de Groot (JGC) - Saturday, 15 November 2008, 10:13 GMT
Networkmanager uses consolekit and policykit now instead of the network group. gdm enables consolekit login by default, for other options of logging in you should use the pam module included in consolekit.

Reloading dbus can be done with /etc/rc.d/dbus reload, no need to HUP anything. After dbus has reloaded the new configuration, root should always have access to networkmanager, at least it has here.
Comment by Shem Valentine (xvalentinex) - Wednesday, 19 November 2008, 19:26 GMT
Resolved, thank you Jan

Loading...