When I try to start nm-applet-0.7.1_p20090824, I get this error: (nm-applet:26994): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: Connection ":1.28" is not allowed to own the service "org.freedesktop.NetworkManagerUserSettings" due to security policies in the configuration file ** (nm-applet:26994): WARNING **: <WARN> request_name(): Could not acquire the NetworkManagerUserSettings service. Message: '`DV\u00083' *** glibc detected *** nm-applet: free(): invalid pointer: 0x085645b0 *** I have not made any changes to the policies that were installed. If I start it as root, then it works without problem. Reproducible: Always
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.