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#26550 - [networkmanager] Problem modifying a wired network connection via network-manager

Attached to Project: Arch Linux
Opened by Nicolas Michel (sylock) - Friday, 21 October 2011, 08:09 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 15 October 2012, 12:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Jan Alexander Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
I'm using gnome-shell 3.2.1 with network-manager-applet to manage the network.

I want to modify my wired connection settings. It is actually in full DHCP. I want to keep the DHCP but only for the IPV4 address : "Automatic (DHCP) addresses only" because I want to setup by myself the DNS servers and the search domains.

After finishing to setup all these things, I click on save. It show me a really short time the window to enter the root password then close before being possible to enter it. The config is not saved.


Additional info:
* package version(s)
local/gnome-shell 3.2.1-1 (gnome)
local/linux 3.0.7-1 (base)
local/networkmanager 0.9.1.90-1
local/network-manager-applet 0.9.1.90-1
uname -a :
Linux myhost 3.0-ARCH #1 SMP PREEMPT Fri Oct 7 11:35:34 CEST 2011 x86_64 Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz GenuineIntel GNU/Linux


* config and/or log files etc.
into my ~/.xsession-errors :
(nm-connection-editor:9172): GLib-GObject-CRITICAL **: g_value_set_static_string: assertion `G_VALUE_HOLDS_STRING (value)' failed

(nm-connection-editor:9174): GLib-GObject-CRITICAL **: g_value_set_static_string: assertion `G_VALUE_HOLDS_STRING (value)' failed


Steps to reproduce:
- click on network-manager-applet
- choose network-settings
- select the "wired" connection
- click on configure ; a new window appears
- click on edit (for the wired connection)
- go to ipv4 tab settings
- select the "Method" : "Automatic (DHCP) addresses only"
- set multiple comma separated DNS servers
- set multiple comma separated search domains
- click on save

This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Monday, 15 October 2012, 12:17 GMT
Reason for closing:  Works for me
Comment by Isidoro-Erich del Cueto Lopez (iedcl) - Monday, 24 October 2011, 14:08 GMT
I´ve encountered the same problem, when i tried to change my wired network configuration to static (from dhcp).

WORKAROUND:
- switch to fallback mode (gnome3)
- change settings
- save (legitimation dialog stays)
- afterwards switch back





Comment by Ionut Biru (wonder) - Wednesday, 02 November 2011, 21:03 GMT
let me know if is fixed in network-manager-applet 0.9.15-2. you have to relogin after updating
Comment by Nicolas Michel (sylock) - Thursday, 03 November 2011, 14:07 GMT
How can I test network-manager-applet 0.9.15-2 since in my repos I only have 0.9.1.90-1 :

pacman -Ss network-manager-applet
extra/network-manager-applet 0.9.1.90-1 [installed]
GNOME frontends to NetWorkmanager
Comment by Isidoro-Erich del Cueto Lopez (iedcl) - Friday, 18 November 2011, 13:31 GMT
same problem at 0.9.2.0-1
Comment by Jan Alexander Steffens (heftig) - Friday, 18 November 2011, 15:19 GMT
Could be a problem with polkit?
Comment by Dj (BourneShell) - Sunday, 20 November 2011, 15:18 GMT
I stumbled into this when I switched from network to networkmanager in daemons array.
As only Empathy stop connecting accounts giving "Network Error", I went to the networkmanager dialogs and can't save it, because the gnome-shell black dialog asking for root password just appears and disappears.

Workaround #1 fixed the settings.
But I keep getting no Empathy connection now.

Update:
I found a workaround to get Empathy working again.
Go to System Settings -> Network -> Proxy and turn it to "None" (it will be probably "Automatic")
Comment by Greg Gard (gardwired) - Friday, 20 January 2012, 17:53 GMT
i can confirm this. i am unable to edit any network connections via nm-applet. gnome 3.2.1, gdm as last entry in rc.conf, consolekit and gnome-polkit running etc. even added myself as member of wheel and network. short of nuking polkit rules i am at a loss. have tried every suggestion i can google and nothing works.

have been through the forums, wikis, and tickets.

i wouldn't mind entering a root password every time. i actually prefer that. but gnome is not really all that good at asking for one. in this case, i get the disappearing "system policy prevents..." popup, which asks for a password but disappears before i can enter one.

Comment by Greg Gard (gardwired) - Friday, 20 January 2012, 19:07 GMT
as a followup, i wasn't able to get the above workaround to work for me. googling around i found this for how to set alternative "localauthority" rules for polkit to allow my user to alter system network configs.

http://blog.mmassonnet.info/2011/05/changing-policykit-settings-per-user.html

this works without being member of wheel so i removed that.

gpasswd -d wheel <username>

not a fix, but it works like nm should in the first place.
Comment by Lukas B (teateawhy) - Friday, 23 March 2012, 02:41 GMT
workaround that was successful on my system:
# nm-connection-editor

When called from the command line everything works.
Trying to do the same from the applet integrated in GNOME fails, also.
Comment by Greg (dolby) - Monday, 15 October 2012, 08:27 GMT
Still a problem? Has this been reported upstream?
Comment by Nicolas Michel (sylock) - Monday, 15 October 2012, 12:07 GMT
It is fixed since gnome-shell 3.4 but I don't know why.

Loading...