← Back to team overview

desktop-packages team mailing list archive

[Bug 1402094] [NEW] Network Manager Applet has duplicate entry changing IPv4 Method

 

Public bug reported:

1) lsb_release -rd
Description:	Ubuntu Vivid Vervet (development branch)
Release:	15.04

2) apt-cache policy network-manager-gnome
network-manager-gnome:
  Installed: 0.9.8.8-0ubuntu4.3
  Candidate: 0.9.8.8-0ubuntu4.3
  Version table:
 *** 0.9.8.8-0ubuntu4.3 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.9.8.8-0ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

3) What is expected to happen in a new Vivid virtualbox guest is one
clicks in vbox File > Preferences > Network > Host-only Networks > click
plus icon to Add host-only network > IPv4 Address: 192.168.56.1 > IPv4
Network Mask: 255.255.255.0 > IPv6 Address:
fe80:0000:0000:0000:0800:27ff:fe00:0000 > IPv6 Network Mask Length: 64 >
tab DHCP Server > uncheck Enable Server > OK >  highlight Vivid guest >
Settings > Network > tab Adapter 1 > check Enable Network Adapter >
Attached to: Host-only Adapter (leave defaults) > Check Enable Network
Adapter > Attached to: NAT (leave all other settings as default) > tab
Adapter 2 > OK.

Start the Vivd guest and login > top right of screen secondary click
Network Manager icon in the taskbar > Settings... > highlight WIred
Connection 1 > Edit > tab IPv4 Settings > button Add > Address
192.168.56.3 > Netmask 255.255.255.0 > Gateway 192.168.56.1 > Save >
click on the Network Manager icon in the taskbar and there should only
be one entry for each interface.

4) What happens instead is there are two entries for Wired Connection 2, one that's connected, one that's disconnected, as per the attached screenshot:
https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/1402094/+attachment/4279934/+files/screenshot.png

If one were to reverse the order of the adapters in vbox, one would see
two entries for Wired Connection 2 in Network Connections.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: network-manager-gnome 0.9.8.8-0ubuntu8
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
Uname: Linux 3.16.0-25-generic x86_64
ApportVersion: 2.14.7-0ubuntu10
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Dec 12 16:39:39 2014
ExecutablePath: /usr/bin/nm-connection-editor
IfupdownConfig:
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationDate: Installed on 2014-12-10 (2 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141209)
IpRoute:
 default via 10.0.2.2 dev eth0  proto static
 10.0.2.0/24 dev eth0  proto kernel  scope link  src 10.0.2.15  metric 1
 192.168.56.0/24 dev eth1  proto kernel  scope link  src 192.168.56.3  metric 1
IwConfig:
 eth0      no wireless extensions.

 eth1      no wireless extensions.

 lo        no wireless extensions.
NetworkManager.state:
 [main]
 NetworkingEnabled=true
 WirelessEnabled=true
 WWANEnabled=true
 WimaxEnabled=true
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
RfKill:

SourcePackage: network-manager-applet
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-con:
 NAME                      UUID                                   TYPE              TIMESTAMP    TIMESTAMP-REAL                     AUTOCONNECT   READONLY   DBUS-PATH
 Wired connection 2        335f383e-4a02-4acc-b424-00d174797339   802-3-ethernet    1418423923   Fri 12 Dec 2014 04:38:43 PM CST    yes           no         /org/freedesktop/NetworkManager/Settings/2
 Wired connection 1        902a26d4-64b3-460d-97c8-0bfb9a57bf3a   802-3-ethernet    1418423923   Fri 12 Dec 2014 04:38:43 PM CST    yes           no         /org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
 DEVICE     TYPE              STATE         DBUS-PATH
 eth1       802-3-ethernet    connected     /org/freedesktop/NetworkManager/Devices/1
 eth0       802-3-ethernet    connected     /org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
 RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN
 running         0.9.8.8    connected       enabled       enabled         enabled    enabled         disabled

** Affects: network-manager-applet
     Importance: Unknown
         Status: Unknown

** Affects: network-manager-applet (Ubuntu)
     Importance: Medium
         Status: Triaged


** Tags: amd64 apport-bug vivid

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-applet in Ubuntu.
https://bugs.launchpad.net/bugs/1402094

Title:
  Network Manager Applet has duplicate entry changing IPv4 Method

Status in Network Manager GNOME Applet:
  Unknown
Status in network-manager-applet package in Ubuntu:
  Triaged

Bug description:
  1) lsb_release -rd
  Description:	Ubuntu Vivid Vervet (development branch)
  Release:	15.04

  2) apt-cache policy network-manager-gnome
  network-manager-gnome:
    Installed: 0.9.8.8-0ubuntu4.3
    Candidate: 0.9.8.8-0ubuntu4.3
    Version table:
   *** 0.9.8.8-0ubuntu4.3 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       0.9.8.8-0ubuntu4 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  3) What is expected to happen in a new Vivid virtualbox guest is one
  clicks in vbox File > Preferences > Network > Host-only Networks >
  click plus icon to Add host-only network > IPv4 Address: 192.168.56.1
  > IPv4 Network Mask: 255.255.255.0 > IPv6 Address:
  fe80:0000:0000:0000:0800:27ff:fe00:0000 > IPv6 Network Mask Length: 64
  > tab DHCP Server > uncheck Enable Server > OK >  highlight Vivid
  guest > Settings > Network > tab Adapter 1 > check Enable Network
  Adapter > Attached to: Host-only Adapter (leave defaults) > Check
  Enable Network Adapter > Attached to: NAT (leave all other settings as
  default) > tab Adapter 2 > OK.

  Start the Vivd guest and login > top right of screen secondary click
  Network Manager icon in the taskbar > Settings... > highlight WIred
  Connection 1 > Edit > tab IPv4 Settings > button Add > Address
  192.168.56.3 > Netmask 255.255.255.0 > Gateway 192.168.56.1 > Save >
  click on the Network Manager icon in the taskbar and there should only
  be one entry for each interface.

  4) What happens instead is there are two entries for Wired Connection 2, one that's connected, one that's disconnected, as per the attached screenshot:
  https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/1402094/+attachment/4279934/+files/screenshot.png

  If one were to reverse the order of the adapters in vbox, one would
  see two entries for Wired Connection 2 in Network Connections.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: network-manager-gnome 0.9.8.8-0ubuntu8
  ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
  Uname: Linux 3.16.0-25-generic x86_64
  ApportVersion: 2.14.7-0ubuntu10
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Dec 12 16:39:39 2014
  ExecutablePath: /usr/bin/nm-connection-editor
  IfupdownConfig:
   # interfaces(5) file used by ifup(8) and ifdown(8)
   auto lo
   iface lo inet loopback
  InstallationDate: Installed on 2014-12-10 (2 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20141209)
  IpRoute:
   default via 10.0.2.2 dev eth0  proto static
   10.0.2.0/24 dev eth0  proto kernel  scope link  src 10.0.2.15  metric 1
   192.168.56.0/24 dev eth1  proto kernel  scope link  src 192.168.56.3  metric 1
  IwConfig:
   eth0      no wireless extensions.

   eth1      no wireless extensions.

   lo        no wireless extensions.
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcEnviron:
   LANGUAGE=en_US
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  RfKill:

  SourcePackage: network-manager-applet
  UpgradeStatus: No upgrade log present (probably fresh install)
  nmcli-con:
   NAME                      UUID                                   TYPE              TIMESTAMP    TIMESTAMP-REAL                     AUTOCONNECT   READONLY   DBUS-PATH
   Wired connection 2        335f383e-4a02-4acc-b424-00d174797339   802-3-ethernet    1418423923   Fri 12 Dec 2014 04:38:43 PM CST    yes           no         /org/freedesktop/NetworkManager/Settings/2
   Wired connection 1        902a26d4-64b3-460d-97c8-0bfb9a57bf3a   802-3-ethernet    1418423923   Fri 12 Dec 2014 04:38:43 PM CST    yes           no         /org/freedesktop/NetworkManager/Settings/0
  nmcli-dev:
   DEVICE     TYPE              STATE         DBUS-PATH
   eth1       802-3-ethernet    connected     /org/freedesktop/NetworkManager/Devices/1
   eth0       802-3-ethernet    connected     /org/freedesktop/NetworkManager/Devices/0
  nmcli-nm:
   RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN
   running         0.9.8.8    connected       enabled       enabled         enabled    enabled         disabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager-applet/+bug/1402094/+subscriptions


Follow ups

References