Log in

No account? Create an account

Alas, a blog! Live life, like you give a damn!

Minor issue with NetworkManager and Fedora 12

Minor issue with NetworkManager and Fedora 12

Previous Entry Share Next Entry
Just solved a problem on my Fedora 12 32-bit machine (Acer Aspire One D250). For some reason, the nm-applet is not starting when I log into the desktop. When I start a terminal and fire up nm-applet as a normal user, I get the following error:

[user@machine ~]$ nm-applet

** (nm-applet:7050): WARNING **:  request_name(): Could not
 acquire the NetworkManagerUserSettings service.
  Error: (9) Connection  ":1.372" is not allowed to own the service 
"org.freedesktop.NetworkManagerUserSettings" due to security policies
in the confuguration file

But, when I substitute user as root (su -), I can start it and all's well. Not a happy situation.

Did some checking and got a hint from - http://bbs.archlinux.org/viewtopic.php?id=63576.

So, what I have done is the following. In etc/dbus-1/system.d/nm-applet.conf, I had to add the
following for my userid:

    < policy user="harish">
        < 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>

I am using the "user" setting and not a group as suggested in the URL above as I do not want to create a non-standard group for this purpose. Suffice that my immediate problem is solved.

On the Fedora 12 machine that is experiencing this issue, policykit is as follows:
$ rpm -qa|grep polkit

On another Fedora 12 machine that all's well policykit is as follows:
$ rpm -qa|grep polkit

Posted this to BZ 549253.
Powered by LiveJournal.com