[Desktop-packages] [Bug 391040] Re: When eth0 is unmanaged, system connections for other NICs aren't displayed nor used
AFAIK this is expected behavior: interfaces managed outside NetworkManager (e.g. in /etc/network/interfaces) are ignored and considered up (but nothing else is done); unless the value of the key managed (under [ifupdown]) is set to true in /etc/NetworkManager/NetworkManager.conf. Its value defaults to false. Now whether that works well with dnsmasq is an entirely different matter, but if there are issues with that it should be filed as a separate bug. Since it's fixed in all supported Ubuntu releases (this behavior predates dnsmasq being enabled by NM), I'm closing this a Fix Released. ** Changed in: network-manager (Ubuntu) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/391040 Title: When eth0 is unmanaged, system connections for other NICs aren't displayed nor used Status in “network-manager” package in Ubuntu: Fix Released Bug description: Binary package hint: network-manager If eth0 is assigned a static IP in /etc/network/interfaces, then NM doesn't display nor use any system-connections defined for *other* NICs. I include the output from trying to add a new connection: 1. I run nm-connection-editor. 2. I press the Add button, fill some static IP info, ***check the [v] Available to all users*** checkbox, and click Apply. (the Invalid setting IPv4 Settings message is displayed while filling the dns server) 3. The result is that without getting any error message on the GUI, the connection is not displayed at all. So one would think that it was discarded; however, if I look at the file system, it's there, but it's like NM doesn't read it at all. See the output of sudo ls -lha /etc/NetworkManager/system-connections/ below: Follows the terminal output of the above steps: teacher@server:~$ nm-connection-editor (nm-connection-editor:3597): GLib-CRITICAL **: g_hash_table_foreach: assertion `hash_table != NULL' failed ** (nm-connection-editor:3597): WARNING **: nm_connection_list_new: failed to load VPN plugins: Couldn't read VPN .name files directory /etc/NetworkManager/VPN. ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings: addresses ** (nm-connection-editor:3597): WARNING **: ui_to_setting: IPv4 address 'none' missing or invalid! ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: ui_to_setting: IPv4 prefix 'none' missing! ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings teacher@server:~$ sudo ls -lha /etc/NetworkManager/system-connections/ total 12K drwxr-xr-x 2 root root 4.0K 2009-06-23 12:32 . drwxr-xr-x 4 root root 4.0K 2009-06-21 18:26 .. -rw--- 1 root root 337 2009-06-23 12:32 Wired connection 1 ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 9.04 MediaBuild: Ubuntu 9.04 Jaunty Jackalope - Release i386 (20090420.1) Package: network-manager 0.7.1~rc4.1.cf199a964-0ubuntu2 ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: network-manager Uname: Linux 2.6.28-13-generic i686 WpaSupplicantLog: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/391040/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 391040] Re: When eth0 is unmanaged, system connections for other NICs aren't displayed nor used
Mathieu I think you misunderstood the issue. In 10.04, if I had this in my /etc/network/interfaces: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp then network-manager didn't show system connections for *eth1*. Not eth0, eth1. In other words, it was impossible to manage eth0 with /etc/network/interfaces and eth1 with network-manager. But I just tested in 12.04 and it appears to have been fixed (the test case I just mentioned works fine without editing any nm configuration files at all), so I'm leaving it fix-released. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/391040 Title: When eth0 is unmanaged, system connections for other NICs aren't displayed nor used Status in “network-manager” package in Ubuntu: Fix Released Bug description: Binary package hint: network-manager If eth0 is assigned a static IP in /etc/network/interfaces, then NM doesn't display nor use any system-connections defined for *other* NICs. I include the output from trying to add a new connection: 1. I run nm-connection-editor. 2. I press the Add button, fill some static IP info, ***check the [v] Available to all users*** checkbox, and click Apply. (the Invalid setting IPv4 Settings message is displayed while filling the dns server) 3. The result is that without getting any error message on the GUI, the connection is not displayed at all. So one would think that it was discarded; however, if I look at the file system, it's there, but it's like NM doesn't read it at all. See the output of sudo ls -lha /etc/NetworkManager/system-connections/ below: Follows the terminal output of the above steps: teacher@server:~$ nm-connection-editor (nm-connection-editor:3597): GLib-CRITICAL **: g_hash_table_foreach: assertion `hash_table != NULL' failed ** (nm-connection-editor:3597): WARNING **: nm_connection_list_new: failed to load VPN plugins: Couldn't read VPN .name files directory /etc/NetworkManager/VPN. ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings: addresses ** (nm-connection-editor:3597): WARNING **: ui_to_setting: IPv4 address 'none' missing or invalid! ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: ui_to_setting: IPv4 prefix 'none' missing! ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings ** (nm-connection-editor:3597): WARNING **: Invalid setting IPv4 Settings teacher@server:~$ sudo ls -lha /etc/NetworkManager/system-connections/ total 12K drwxr-xr-x 2 root root 4.0K 2009-06-23 12:32 . drwxr-xr-x 4 root root 4.0K 2009-06-21 18:26 .. -rw--- 1 root root 337 2009-06-23 12:32 Wired connection 1 ProblemType: Bug Architecture: i386 DistroRelease: Ubuntu 9.04 MediaBuild: Ubuntu 9.04 Jaunty Jackalope - Release i386 (20090420.1) Package: network-manager 0.7.1~rc4.1.cf199a964-0ubuntu2 ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: network-manager Uname: Linux 2.6.28-13-generic i686 WpaSupplicantLog: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/391040/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp