Summary: | net-misc/networkmanager-0.7.1-r3 - GNOME applet does not allow to edit 'Auto eth0' connection | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sasha Polonsky <apl> |
Component: | Current packages | Assignee: | Robert Piasek (RETIRED) <dagger> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | dang, ikelos, nirbheek, qiaomuf, tetromino |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Error message |
Description
Sasha Polonsky
2009-06-06 12:00:26 UTC
Created attachment 193708 [details]
Error message
no that's no gnome. I can edit my Auto eth0 via networkmanager, so it's possible for it to work correctly. Do you have policykit installed? Do you have consolekit installed? Is consolekit running in the default runlevel? Yes, both policykit and consolekit were installed as dependencies for networkmanager. Consolekit was not started in the default runlevel before. Now I added it, rebooted the machine, but the error message is still there. If you want, I can provide you with VNC access to this machine. The invalid action id suggests networkmanager is asking policykit for some kind of auth, which policykit's looking up, but can't find it. Can you please check you have the file /usr/share/PolicyKit/policy/org.freedesktop.network-manager-settings.system.policy, and that networkmanager-0.7.1-r3 is installed (please try re-emerging it to make sure that something hasn't been updated in the background)... The file /usr/share/PolicyKit/policy/org.freedesktop.network-manager-settings.system.policy exists, and contains the XML text pasted below. The text did not change after re-emerging networkmanager, neither did the error message disappear. <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE policyconfig PUBLIC "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN" "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd"> <policyconfig> <vendor>NetworkManager</vendor> <vendor_url>http://www.gnome.org/projects/NetworkManager</vendor_url> <icon_name>nm-icon</icon_name> <action id="org.freedesktop.network-manager-settings.system.modify"> <description>Modify system connections</description> <message>System policy prevents modification of system settings</message> <defaults> <allow_inactive>no</allow_inactive> <allow_active>auth_admin_keep_always</allow_active> </defaults> </action> </policyconfig> Ok this is my first time posting here, I've just recently upgraded my NetworkManager and Applet and found i have the same bug, I cannot edit the auto eth* connection, in my case it was an issue with policykit, nm-applet was trying to access the polkituser group as GID:1018 but in my /etc/group file it was set to 1017, so i edited the file, changed the GID to 1018 and added my user to the group and i can now edit the connect. I hope this helps No, it does not help. I changed polkituser group ID from 1002 to 1018 in my /etc/group file. After reboot, I can start nm-connection-editor as root, select Edit on Auto eth0 connection, and the dialog box appears. However, I get PolicyKit error message when trying to save the values I enter (IP address, subnet mask, default gateway, DNS server and default domain). If I try to edit Auto eth0 connection properties as a regular user, not root, I get the very same error I did with polkituser group ID 1002. In the latest build (0.7.1-r3) there is a postinstall message that says: To save system-wide settings as a user, that user needs to have the right policykit privileges. You can add them by running: 'polkit-auth --grant org.freedesktop.network-manager-settings.system.modify --user "USERNAME"' Hope this helps. I have done this, as mentioned in Steps to Reproduce section. After changing group ID I have done this again, to be sure, but got error like 'that user already has that permission'. I have similar problem, any another advises ? for me add consolekit in the default runlevel help I guess I should have verified: How are you starting X? startx or gdm? if you asked me: gdm (from xdm init.d script) if I try start consolekit manually, it says: already started, but status is "not started" now after add to default runlevel: all ok It's not X, it's VNC server. I start it by running /etc/init.d/vnc start. Maybe it's not a good idea to edit eth0 connection in VNC session, thus risking the session to be disconnected, but I need nm-applet to connect to different VPNs in VNC session. If there is a way to make network manager responsible for VPN connections only and configure eth0 with static IP without using network manager, it would be acceptable solution for me. net-misc/networkmanager-0.7.1-r3 is no longer in the tree. Please close this bug. This seems to work for me with 0.9.2.0-r2 |