Summary: | gnome-extra/nm-applet-0.8 fails to start due to policy problem | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthew Turnbull <sparky> |
Component: | Current packages | Assignee: | Robert Piasek (RETIRED) <dagger> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | bjt23, cbm, dagger, maciag.artur, pacho, steev, sven.koehler, tomka |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 321593 | ||
Attachments: | Modified ebuild that applies the patch to the policy file |
Description
Matthew Turnbull
2009-08-24 20:34:29 UTC
have you etc-update'ed the policy file? Did you reload/restart dbus after installation? adding into /etc/dbus-1/system.d/nm-applet.conf <policy group="plugdev"> <allow own="org.freedesktop.NetworkManagerUserSettings"/> <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/> <allow send_interface="org.freedesktop.NetworkManagerUserSettings"/> <deny send_interface="org.freedesktop.NetworkManagerSetting.Secrets"/> </policy> this help me. copying the at_console policy group as a plugdev group worked. I think the problem is that nm-applet-0.7.1_p20090824 doesn't include any of the patches that the previous 0.7.1 ebuilds did. Those patches included changes to the policy files that added the plugdev policy group. (In reply to comment #3) > copying the at_console policy group as a plugdev group worked. > > I think the problem is that nm-applet-0.7.1_p20090824 doesn't include any of > the patches that the previous 0.7.1 ebuilds did. Those patches included changes > to the policy files that added the plugdev policy group. Which file do I have to change? Created attachment 202859 [details]
Modified ebuild that applies the patch to the policy file
I can confirm this bug as well as the solution. I've attached a modified ebuild that applies the existing patch to the policy file; with this, nm-applet works fine for me.
(In reply to comment #5) > Created an attachment (id=202859) [edit] > Modified ebuild that applies the patch to the policy file > > I can confirm this bug as well as the solution. I've attached a modified ebuild > that applies the existing patch to the policy file; with this, nm-applet works > fine for me. That fixed the problem for me. (In reply to comment #6) > (In reply to comment #5) > > Created an attachment (id=202859) [edit] > > Modified ebuild that applies the patch to the policy file > > > > I can confirm this bug as well as the solution. I've attached a modified ebuild > > that applies the existing patch to the policy file; with this, nm-applet works > > fine for me. > > That fixed the problem for me. > +1 (In reply to comment #7) > (In reply to comment #6) > > (In reply to comment #5) > > > Created an attachment (id=202859) [edit] > > > Modified ebuild that applies the patch to the policy file > > > > > > I can confirm this bug as well as the solution. I've attached a modified ebuild > > > that applies the existing patch to the policy file; with this, nm-applet works > > > fine for me. > > > > That fixed the problem for me. > > > > +1 > +1 It's fixed now. Thanks for reporting! *** Bug 308743 has been marked as a duplicate of this bug. *** (In reply to comment #10) > *** Bug 308743 has been marked as a duplicate of this bug. *** > Seems that the problem have reappeared for some people with 0.8 Yes, I'm seeing it here with 0.8 as well. nm-applet depends on a running consolekit-session (ck-launch-session). without it i see the same error. (In reply to comment #13) > nm-applet depends on a running consolekit-session (ck-launch-session). without > it i see the same error. I can confirm this issue in 0.8 with a running consolekit-session and properly restarted dbus. This issue only occurs if you're using gdm/kdm with USE=-consolekit, or if you're using startx and don't start your DE as `ck-launch-session gnome-session` etc. A pkg_postinst message was recently added to sys-auth/polkit detailing this. Closing WORKSFORME. |