After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 645702 - network: duplicate system eth0
network: duplicate system eth0
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: network-indicator
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 646351 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-03-26 01:03 UTC by Matthias Clasen
Modified: 2011-04-02 18:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
NetworkMenu: fix parameters to _findConnection (1.09 KB, patch)
2011-03-31 16:05 UTC, Giovanni Campagna
committed Details | Review

Description Matthias Clasen 2011-03-26 01:03:50 UTC
Seen with 2.91.92.

Start nm with an unmanaged eth0. No wired device in the menu at all (is that correct ? I thought it should perhaps show up anyway, as 'unmanaged' ?)

Now remove NM_CONTROLLED=no from the ifcfg-eth0 file. NetworkManager will pick up that change, and the device appears in the menu, but it has two 'System eth0' connections below it.
Comment 1 Giovanni Campagna 2011-03-26 14:11:02 UTC
This could be a NetworkManager bug (creating two "system eth0" connection), or a shell bug (adding the same connection twice). Can you check with d-feet how many connection paths are exposed by NM?
Comment 2 Giovanni Campagna 2011-03-31 16:05:59 UTC
Created attachment 184798 [details] [review]
NetworkMenu: fix parameters to _findConnection

NMDevice._findConnection expects an uuid as parameter, but
checkConnection was passing a NMConnection object. This caused
exists to be always false, thus the connection was added again every
time the 'updated' signal was emitted.
Comment 3 Giovanni Campagna 2011-03-31 16:36:26 UTC
*** Bug 646351 has been marked as a duplicate of this bug. ***
Comment 4 Giovanni Campagna 2011-04-02 18:36:52 UTC
Attachment 184798 [details] pushed as 5b61485 - NetworkMenu: fix parameters to _findConnection