[Pkg-utopia-maintainers] Bug#707070: NetworkManager tries to manage an ifupdown-managed eth0 (managed=false)

Antti-Juhani Kaijanaho ajk at debian.org
Tue May 7 08:53:32 UTC 2013


Package: network-manager
Version: 0.9.8.0-4
Severity: normal

I have this new laptop of mine configured so that ifupdown manages eth0 (due to
what looks to be #665439).

8<------------------ /etc/network/interfaces
ajk at teralehti:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
	hwaddress ether 00:03:0D:5C:C6:6C
8<------------------ /etc/network/interfaces


8<------------------ /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false
8<------------------ /etc/NetworkManager/NetworkManager.conf


Despite this, NetworkManager starts a second dhclient for eth0:

 2972 ?        Ss     0:00 dhclient -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
 2816 ?        Ssl    0:00 /usr/sbin/NetworkManager
 2995 ?        S      0:00  \_ /sbin/dhclient -d -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/dhclient-eth0.pid -lf /var/lib/Network
Manager/dhclient-abf9f6b9-eb4c-4c16-a7ce-17cc7bf6f3b3-eth0.lease -cf /var/lib/NetworkManager/dhclient-eth0.conf eth0

I can see the following messages, among others, in my syslog (omitted
specific information such as network names marked):

May  7 11:13:36 teralehti kernel: [    0.588806] r8169 0000:02:00.2 eth0: RTL8411 at 0xffffc90000c70000, 20:6a:8a:f2:11:4e, XID 08800800 IRQ 41
May  7 11:13:36 teralehti kernel: [    0.588810] r8169 0000:02:00.2 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
May  7 11:13:36 teralehti kernel: [   15.529962] r8169 0000:02:00.2 eth0: link down
May  7 11:13:36 teralehti kernel: [   15.529973] r8169 0000:02:00.2 eth0: link down
May  7 11:13:36 teralehti kernel: [   15.530020] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
May  7 11:13:36 teralehti kernel: [   17.200310] r8169 0000:02:00.2 eth0: link up
May  7 11:13:36 teralehti kernel: [   17.200321] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
May  7 11:13:40 teralehti NetworkManager[2816]: <info> NetworkManager (version 0.9.8.0) is starting...
May  7 11:13:40 teralehti NetworkManager[2816]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
May  7 11:13:40 teralehti NetworkManager[2816]: <info> WEXT support is enabled
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: init!
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: update_system_hostname
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPluginIfupdown: guessed connection type (eth0) = 802-3-ethernet
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet, id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-687ed5bae28e
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: adding eth0 to iface_connections
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: adding iface eth0 to well_known_interfaces
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: autoconnect
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPluginIfupdown: management mode: unmanaged
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.2/net/eth0, iface: eth0)
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPluginIfupdown: locking wired connection setting
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: end _init.
May  7 11:13:41 teralehti NetworkManager[2816]: <info> Loaded plugin ifupdown: (C) 2008 Canonical Ltd.  To report bugs please use the NetworkManager mailing list.
May  7 11:13:41 teralehti NetworkManager[2816]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
May  7 11:13:41 teralehti NetworkManager[2816]:    Ifupdown: get unmanaged devices count: 1
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: (19039040) ... get_connections.
May  7 11:13:41 teralehti NetworkManager[2816]:    SCPlugin-Ifupdown: (19039040) ... get_connections (managed=false): return empty list.
May  7 11:13:41 teralehti NetworkManager[2816]:    keyfile: parsing Automaattinen: [NETWORK NAME OMITTED] ... 
May  7 11:13:41 teralehti NetworkManager[2816]:    keyfile:     read connection 'Automaattinen: [NETWORK NAME OMITTED]'
May  7 11:13:41 teralehti NetworkManager[2816]:    keyfile: parsing Automaattinen: [NETWORK NAME OMITTED] ... 
May  7 11:13:41 teralehti NetworkManager[2816]:    keyfile:     read connection 'Automaattinen: [NETWORK NAME OMITTED]'
May  7 11:13:41 teralehti NetworkManager[2816]:    keyfile: parsing [NETWORK NAME OMITTED] ... 
May  7 11:13:41 teralehti dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
May  7 11:13:42 teralehti NetworkManager[2816]:    keyfile:     read connection '[NETWORK NAME OMITTED]'
May  7 11:13:42 teralehti NetworkManager[2816]:    keyfile: parsing Automaattinen, kiinteä ... 
May  7 11:13:42 teralehti NetworkManager[2816]:    keyfile:     read connection 'Automaattinen, kiinteä'
May  7 11:13:42 teralehti NetworkManager[2816]:    keyfile: parsing Automaattinen: [NETWORK NAME OMITTED] ... 
May  7 11:13:42 teralehti dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
May  7 11:13:42 teralehti dhclient: DHCPOFFER from 130.234.160.2
May  7 11:13:42 teralehti dhclient: DHCPACK from 130.234.160.2
May  7 11:13:42 teralehti NetworkManager[2816]:    keyfile:     read connection 'Automaattinen: [NETWORK NAME OMITTED]'
May  7 11:13:42 teralehti NetworkManager[2816]:    Ifupdown: get unmanaged devices count: 1
May  7 11:13:42 teralehti NetworkManager[2816]: <info> monitoring kernel firmware directory '/lib/firmware'.
May  7 11:13:42 teralehti NetworkManager[2816]: <info> monitoring ifupdown state file '/run/network/ifstate'.
May  7 11:13:42 teralehti NetworkManager[2816]: <info> rfkill1: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/ieee80211/phy0/rfkill1) (driver ath9k)
May  7 11:13:42 teralehti NetworkManager[2816]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/platform/acer-wmi/rfkill/rfkill0) (platform driver acer-wmi)
May  7 11:13:42 teralehti NetworkManager[2816]: <info> WiFi hardware radio set disabled
May  7 11:13:42 teralehti NetworkManager[2816]: <info> WiFi enabled by radio killswitch; disabled by state file
May  7 11:13:42 teralehti NetworkManager[2816]: <info> WWAN enabled by radio killswitch; enabled by state file
May  7 11:13:42 teralehti NetworkManager[2816]: <info> WiMAX enabled by radio killswitch; enabled by state file
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Networking is enabled by state file
May  7 11:13:42 teralehti NetworkManager[2816]: <warn> failed to allocate link cache: (-10) Operation not supported
May  7 11:13:42 teralehti NetworkManager[2816]: <info> (eth0): carrier is ON
May  7 11:13:42 teralehti NetworkManager[2816]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
May  7 11:13:42 teralehti NetworkManager[2816]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
May  7 11:13:42 teralehti NetworkManager[2816]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
May  7 11:13:42 teralehti NetworkManager[2816]: <info> (eth0): preparing device.
May  7 11:13:42 teralehti NetworkManager[2816]: <info> (eth0): deactivating device (reason 'managed') [2]
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Added default wired connection 'Wired connection 1' for /sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.2/net/eth0
May  7 11:13:42 teralehti NetworkManager[2816]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
May  7 11:13:42 teralehti NetworkManager[2816]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
May  7 11:13:42 teralehti NetworkManager[2816]: <info> WiFi now disabled by radio killswitch
May  7 11:13:42 teralehti NetworkManager[2816]: <info> (eth0): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Auto-activating connection 'Automaattinen, kiinteä'.
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) starting connection 'Automaattinen, kiinteä'
May  7 11:13:42 teralehti NetworkManager[2816]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
May  7 11:13:42 teralehti NetworkManager[2816]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
May  7 11:13:42 teralehti NetworkManager[2816]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
May  7 11:13:42 teralehti NetworkManager[2816]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
May  7 11:13:42 teralehti dhclient: bound to 130.234.161.247 -- renewal in 2799 seconds.
May  7 11:13:43 teralehti NetworkManager[2816]: <info> dhclient started with pid 2995
May  7 11:13:43 teralehti NetworkManager[2816]: <info> Activation (eth0) Beginning IP6 addrconf.
May  7 11:13:43 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
May  7 11:13:43 teralehti NetworkManager[2816]: <info> modem-manager is now available
May  7 11:13:43 teralehti dhclient: Internet Systems Consortium DHCP Client 4.2.4
May  7 11:13:43 teralehti dhclient: Copyright 2004-2012 Internet Systems Consortium.
May  7 11:13:43 teralehti dhclient: All rights reserved.
May  7 11:13:43 teralehti dhclient: For info, please visit https://www.isc.org/software/dhcp/
May  7 11:13:43 teralehti dhclient: 
May  7 11:13:43 teralehti NetworkManager[2816]: <info> (eth0): DHCPv4 state changed nbi -> preinit
May  7 11:13:43 teralehti dhclient: Listening on LPF/eth0/[MAC ADDRESS OMITTED]
May  7 11:13:43 teralehti dhclient: Sending on   LPF/eth0/[MAC ADDRESS OMITTED]
May  7 11:13:43 teralehti dhclient: Sending on   Socket/fallback
May  7 11:13:43 teralehti dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
May  7 11:13:43 teralehti dhclient: DHCPACK from 130.234.160.2
May  7 11:13:43 teralehti NetworkManager[2816]: <info> (eth0): DHCPv4 state changed preinit -> reboot
May  7 11:13:43 teralehti NetworkManager[2816]: <info>   address 130.234.161.252
May  7 11:13:43 teralehti NetworkManager[2816]: <info>   prefix 23 (255.255.254.0)
May  7 11:13:43 teralehti NetworkManager[2816]: <info>   gateway 130.234.160.1
May  7 11:13:43 teralehti NetworkManager[2816]: <info>   nameserver '130.234.4.30'
May  7 11:13:43 teralehti NetworkManager[2816]: <info>   nameserver '130.234.5.30'
May  7 11:13:43 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Configure Commit) scheduled...
May  7 11:13:43 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) started...
May  7 11:13:43 teralehti dhclient: bound to 130.234.161.252 -- renewal in 3208 seconds.
May  7 11:13:44 teralehti NetworkManager[2816]: <info> (eth0): device state change: ip-config -> secondaries (reason 'none') [70 90 0]
May  7 11:13:44 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 5 of 5 (IPv4 Commit) complete.
May  7 11:13:44 teralehti NetworkManager[2816]: <info> (eth0): device state change: secondaries -> activated (reason 'none') [90 100 0]
May  7 11:13:45 teralehti NetworkManager[2816]: <info> Policy set 'Automaattinen, kiinteä' (eth0) as default for IPv4 routing and DNS.
May  7 11:13:45 teralehti NetworkManager[2816]: <info> Activation (eth0) successful, device activated.
May  7 11:13:48 teralehti nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' took too long; killing it.
May  7 11:13:48 teralehti NetworkManager[2816]: <warn> Dispatcher script timed out: Script '/etc/NetworkManager/dispatcher.d/01ifupdown' timed out.
May  7 11:14:03 teralehti NetworkManager[2816]: <info> (eth0): IP6 addrconf timed out or failed.
May  7 11:14:03 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
May  7 11:14:03 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
May  7 11:14:03 teralehti NetworkManager[2816]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser                3.113+nmu3
ii  dbus                   1.6.8-1
ii  dpkg                   1.16.10
ii  isc-dhcp-client        4.2.4-6
ii  libc6                  2.13-38
ii  libdbus-1-3            1.6.8-1
ii  libdbus-glib-1-2       0.100.2-1
ii  libgcrypt11            1.5.0-5
ii  libglib2.0-0           2.33.12+really2.32.4-5
ii  libgnutls26            2.12.20-6
ii  libgudev-1.0-0         175-7.2
ii  libnl-3-200            3.2.7-4
ii  libnl-genl-3-200       3.2.7-4
ii  libnl-route-3-200      3.2.7-4
ii  libnm-glib4            0.9.8.0-4
ii  libnm-util2            0.9.8.0-4
ii  libpolkit-gobject-1-0  0.105-3
ii  libuuid1               2.20.1-5.3
ii  lsb-base               4.1+Debian9
ii  udev                   175-7.2
ii  wpasupplicant          1.0-3+b2

Versions of packages network-manager recommends:
ii  crda          1.1.2-1
ii  dnsmasq-base  2.66-1
ii  iptables      1.4.18-1
ii  modemmanager  0.5.2.0-2
ii  policykit-1   0.105-3
ii  ppp           2.4.5-5.1+b1

Versions of packages network-manager suggests:
ii  avahi-autoipd  0.6.31-2

-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false

/etc/polkit-1/localauthority/10-vendor.d/org.freedesktop.NetworkManager.pkla [Errno 13] Lupa evätty: u'/etc/polkit-1/localauthority/10-vendor.d/org.freedesktop.NetworkManager.pkla'

-- no debconf information



More information about the Pkg-utopia-maintainers mailing list