[Pkg-utopia-maintainers] Bug#708931: Disconnects ifupdown-managed eth0 during start and stop
Antti-Juhani Kaijanaho
ajk at debian.org
Sun May 19 13:51:38 UTC 2013
Package: network-manager
Version: 0.9.8.0-5
Severity: normal
This is the same machine as in #707070, with the same configuration. I'm
submitting a new bug and not reopening the old because the symtpoms are
different.
In the following demonstration, I start in a situation where network-manager is
down, and eth0 is ifup'd.
ajk at teralehti:~$ sudo grep 'type=802-3-ethernet' /etc/NetworkManager/system-connections/*
ajk at teralehti:~$ ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:03:0d:5c:c6:6c brd ff:ff:ff:ff:ff:ff
inet 192.168.1.71/24 brd 192.168.1.255 scope global eth0
inet6 fe80::203:dff:fe5c:c66c/64 scope link
valid_lft forever preferred_lft forever
ajk at teralehti:~$ ssh kaijanaho.fi echo
ajk at teralehti:~$ sudo service network-manager start
[ ok ] Starting network connection manager: NetworkManager.
ajk at teralehti:~$ ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:03:0d:5c:c6:6c brd ff:ff:ff:ff:ff:ff
inet6 fe80::203:dff:fe5c:c66c/64 scope link
valid_lft forever preferred_lft forever
ajk at teralehti:~$ ssh kaijanaho.fi echo
ssh: Could not resolve hostname kaijanaho.fi: No such file or directory
ajk at teralehti:~$ sudo ifup eth0
ifup: interface eth0 already configured
ajk at teralehti:~$ sudo ifdown eth0
RTNETLINK answers: No such process
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:03:0d:5c:c6:6c
Sending on LPF/eth0/00:03:0d:5c:c6:6c
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:2270: Failed to send 300 byte long packet over fallback interface.
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
ajk at teralehti:~$ sudo ifup eth0
Internet Systems Consortium DHCP Client 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/00:03:0d:5c:c6:6c
Sending on LPF/eth0/00:03:0d:5c:c6:6c
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.1.1
DHCPACK from 192.168.1.1
bound to 192.168.1.71 -- renewal in 1584 seconds.
Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
ajk at teralehti:~$ ip addr show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:03:0d:5c:c6:6c brd ff:ff:ff:ff:ff:ff
inet 192.168.1.71/24 brd 192.168.1.255 scope global eth0
inet6 fe80::203:dff:fe5c:c66c/64 scope link
valid_lft forever preferred_lft forever
ajk at teralehti:~$ ssh kaijanaho.fi echo
ajk at teralehti:~$ sudo service network-manager stop
[ ok ] Stopping network connection manager: NetworkManager.
ajk at teralehti:~$ ip addr show eth0
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:03:0d:5c:c6:6c brd ff:ff:ff:ff:ff:ff
inet 192.168.1.71/24 brd 192.168.1.255 scope global eth0
ajk at teralehti:~$ ssh kaijanaho.fi echo
ssh: Could not resolve hostname kaijanaho.fi: No such file or directory
ajk at teralehti:~$ sudo ifup eth0
ifup: interface eth0 already configured
(When network-manager is up, the applet shows network disconnected and offers
me an option to activate wireless, as noted in the logs of #707070.)
Syslog shows me, among other things, the following:
May 19 16:33:50 teralehti NetworkManager[7371]: <info> NetworkManager (version 0.9.8.0) is starting...
May 19 16:33:50 teralehti NetworkManager[7371]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
May 19 16:33:50 teralehti NetworkManager[7371]: <info> WEXT support is enabled
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: init!
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: update_system_hostname
May 19 16:33:50 teralehti NetworkManager[7371]: SCPluginIfupdown: guessed connection type (eth0) = 802-3-ethernet
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: update_connection_setting_from_if_block: name:eth0, type:802-3-ethernet, id:Ifupdown (eth0), uuid: 681b428f-beaf-8932-dce4-687ed5bae28e
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: adding eth0 to connections
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: adding iface eth0 to eni_ifaces
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: autoconnect
May 19 16:33:50 teralehti NetworkManager[7371]: SCPluginIfupdown: management mode: unmanaged
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.2/net/eth0, iface: eth0)
May 19 16:33:50 teralehti NetworkManager[7371]: SCPluginIfupdown: locking wired connection setting
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/net/wlan0, iface: wlan0)
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/net/wlan0, iface: wlan0): no ifupdown configuration found.
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/lo, iface: lo)
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/lo, iface: lo): no ifupdown configuration found.
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: end _init.
May 19 16:33:50 teralehti NetworkManager[7371]: <info> Loaded plugin ifupdown: (C) 2008 Canonical Ltd. To report bugs please use the NetworkManager mailing list.
May 19 16:33:50 teralehti NetworkManager[7371]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
May 19 16:33:50 teralehti NetworkManager[7371]: Ifupdown: get unmanaged devices count: 1
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: (10091520) ... get_connections.
May 19 16:33:50 teralehti NetworkManager[7371]: SCPlugin-Ifupdown: (10091520) ... get_connections (managed=false): return empty list.
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: parsing Automaattinen: [NETWORK NAME ELIDED] ...
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: read connection 'Automaattinen: [NETWORK NAME ELIDED]'
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: parsing Automaattinen: [NETWORK NAME ELIDED] ...
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: read connection 'Automaattinen: [NETWORK NAME ELIDED]'
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: parsing Automaattinen: [NETWORK NAME ELIDED] ...
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: read connection 'Automaattinen: [NETWORK NAME ELIDED]'
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: parsing Automaattinen: [NETWORK NAME ELIDED] ...
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: read connection 'Automaattinen: [NETWORK NAME ELIDED]'
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: parsing [NETWORK NAME ELIDED] ...
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: read connection '[NETWORK NAME ELIDED]'
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: parsing Automaattinen: [NETWORK NAME ELIDED] ...
May 19 16:33:50 teralehti NetworkManager[7371]: keyfile: read connection 'Automaattinen: [NETWORK NAME ELIDED]'
May 19 16:33:50 teralehti NetworkManager[7371]: Ifupdown: get unmanaged devices count: 1
May 19 16:33:50 teralehti NetworkManager[7371]: <info> modem-manager is now available
May 19 16:33:50 teralehti NetworkManager[7371]: <info> monitoring kernel firmware directory '/lib/firmware'.
May 19 16:33:50 teralehti NetworkManager[7371]: <info> monitoring ifupdown state file '/run/network/ifstate'.
May 19 16:33:50 teralehti NetworkManager[7371]: <info> rfkill2: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/ieee80211/phy0/rfkill2) (driver ath9k)
May 19 16:33:50 teralehti NetworkManager[7371]: <info> rfkill0: found WiFi radio killswitch (at /sys/devices/platform/acer-wmi/rfkill/rfkill0) (platform driver acer-wmi)
May 19 16:33:50 teralehti NetworkManager[7371]: <info> WiFi hardware radio set disabled
May 19 16:33:50 teralehti NetworkManager[7371]: <info> WiFi disabled by radio killswitch; disabled by state file
May 19 16:33:50 teralehti NetworkManager[7371]: <info> WWAN enabled by radio killswitch; enabled by state file
May 19 16:33:50 teralehti NetworkManager[7371]: <info> WiMAX enabled by radio killswitch; enabled by state file
May 19 16:33:50 teralehti NetworkManager[7371]: <info> Networking is enabled by state file
May 19 16:33:50 teralehti NetworkManager[7371]: <warn> failed to allocate link cache: (-10) Operation not supported
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (eth0): carrier is ON
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (eth0): preparing device.
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (eth0): deactivating device (reason 'managed') [2]
May 19 16:33:50 teralehti NetworkManager[7371]: <info> Added default wired connection 'Wired connection 1' for /sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.2/net/eth0
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (wlan0): using nl80211 for WiFi device control
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (wlan0): driver supports Access Point (AP) mode
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (wlan0): new 802.11 WiFi device (driver: 'ath9k' ifindex: 3)
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (wlan0): bringing up device.
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (wlan0): deactivating device (reason 'managed') [2]
May 19 16:33:50 teralehti NetworkManager[7371]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
May 19 16:33:50 teralehti NetworkManager[7371]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
May 19 16:33:50 teralehti NetworkManager[7371]: <info> (eth0): device state change: unavailable -> disconnected (reason 'none') [20 30 0]
May 19 16:34:10 teralehti postfix/master[2986]: reload -- version 2.10.0, configuration /etc/postfix
May 19 16:34:10 teralehti dhclient: Internet Systems Consortium DHCP Client 4.2.4
May 19 16:34:10 teralehti dhclient: Copyright 2004-2012 Internet Systems Consortium.
May 19 16:34:10 teralehti dhclient: All rights reserved.
May 19 16:34:10 teralehti dhclient: For info, please visit https://www.isc.org/software/dhcp/
May 19 16:34:10 teralehti dhclient:
May 19 16:34:10 teralehti dhclient: Listening on LPF/eth0/00:03:0d:5c:c6:6c
May 19 16:34:10 teralehti dhclient: Sending on LPF/eth0/00:03:0d:5c:c6:6c
May 19 16:34:10 teralehti dhclient: Sending on Socket/fallback
May 19 16:34:10 teralehti dhclient: DHCPRELEASE on eth0 to 192.168.1.1 port 67
May 19 16:34:10 teralehti dhclient: send_packet: Network is unreachable
May 19 16:34:10 teralehti dhclient: send_packet: please consult README file regarding broadcast address.
May 19 16:34:10 teralehti dhclient: dhclient.c:2270: Failed to send 300 byte long packet over fallback interface.
May 19 16:34:10 teralehti NetworkManager[7371]: <info> (eth0): carrier now OFF (device state 30)
May 19 16:34:10 teralehti NetworkManager[7371]: <info> (eth0): device state change: disconnected -> unavailable (reason 'carrier-changed') [30 20 40]
May 19 16:34:10 teralehti NetworkManager[7371]: <info> (eth0): deactivating device (reason 'carrier-changed') [40]
May 19 16:34:10 teralehti avahi-daemon[7482]: Found user 'avahi' (UID 105) and group 'avahi' (GID 112).
May 19 16:34:10 teralehti avahi-daemon[7482]: Successfully dropped root privileges.
May 19 16:34:10 teralehti avahi-daemon[7482]: avahi-daemon 0.6.31 starting up.
May 19 16:34:10 teralehti avahi-daemon[7482]: Successfully called chroot().
May 19 16:34:10 teralehti avahi-daemon[7482]: Successfully dropped remaining capabilities.
May 19 16:34:10 teralehti avahi-daemon[7482]: Loading service file /services/udisks.service.
May 19 16:34:10 teralehti avahi-daemon[7482]: Network interface enumeration completed.
May 19 16:34:10 teralehti avahi-daemon[7482]: Registering HINFO record with values 'X86_64'/'LINUX'.
May 19 16:34:10 teralehti avahi-daemon[7482]: Server startup complete. Host name is teralehti.local. Local service cookie is 682080300.
May 19 16:34:10 teralehti avahi-daemon[7482]: Service "teralehti" (/services/udisks.service) successfully established.
May 19 16:34:13 teralehti dhclient: Internet Systems Consortium DHCP Client 4.2.4
May 19 16:34:13 teralehti dhclient: Copyright 2004-2012 Internet Systems Consortium.
May 19 16:34:13 teralehti dhclient: All rights reserved.
May 19 16:34:13 teralehti dhclient: For info, please visit https://www.isc.org/software/dhcp/
May 19 16:34:13 teralehti dhclient:
May 19 16:34:13 teralehti kernel: [ 3254.204017] r8169 0000:02:00.2 eth0: link down
May 19 16:34:13 teralehti kernel: [ 3254.204036] r8169 0000:02:00.2 eth0: link down
May 19 16:34:13 teralehti kernel: [ 3254.204380] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
May 19 16:34:13 teralehti dhclient: Listening on LPF/eth0/00:03:0d:5c:c6:6c
May 19 16:34:13 teralehti dhclient: Sending on LPF/eth0/00:03:0d:5c:c6:6c
May 19 16:34:13 teralehti dhclient: Sending on Socket/fallback
May 19 16:34:13 teralehti dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
May 19 16:34:14 teralehti kernel: [ 3255.883913] r8169 0000:02:00.2 eth0: link up
May 19 16:34:14 teralehti kernel: [ 3255.883939] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
May 19 16:34:14 teralehti NetworkManager[7371]: <info> (eth0): carrier now ON (device state 20)
May 19 16:34:14 teralehti NetworkManager[7371]: <info> (eth0): device state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
May 19 16:34:16 teralehti avahi-daemon[7482]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::203:dff:fe5c:c66c.
May 19 16:34:16 teralehti avahi-daemon[7482]: New relevant interface eth0.IPv6 for mDNS.
May 19 16:34:16 teralehti avahi-daemon[7482]: Registering new address record for fe80::203:dff:fe5c:c66c on eth0.*.
May 19 16:34:21 teralehti dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
May 19 16:34:21 teralehti dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
May 19 16:34:21 teralehti dhclient: DHCPOFFER from 192.168.1.1
May 19 16:34:21 teralehti dhclient: DHCPACK from 192.168.1.1
May 19 16:34:21 teralehti avahi-daemon[7482]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.1.71.
May 19 16:34:21 teralehti avahi-daemon[7482]: New relevant interface eth0.IPv4 for mDNS.
May 19 16:34:21 teralehti avahi-daemon[7482]: Registering new address record for 192.168.1.71 on eth0.IPv4.
May 19 16:34:21 teralehti dhclient: bound to 192.168.1.71 -- renewal in 1584 seconds.
May 19 16:34:21 teralehti avahi-daemon[7482]: Got SIGTERM, quitting.
May 19 16:34:21 teralehti avahi-daemon[7482]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::203:dff:fe5c:c66c.
May 19 16:34:21 teralehti avahi-daemon[7482]: Leaving mDNS multicast group on interface eth0.IPv4 with address 192.168.1.71.
May 19 16:34:21 teralehti avahi-daemon[7482]: avahi-daemon 0.6.31 exiting.
May 19 16:34:21 teralehti avahi: Avahi detected that your currently configured local DNS server serves
May 19 16:34:21 teralehti avahi: a domain .local. This is inherently incompatible with Avahi and thus
May 19 16:34:21 teralehti avahi: Avahi disabled itself. If you want to use Avahi in this network, please
May 19 16:34:21 teralehti avahi: contact your administrator and convince him to use a different DNS domain,
May 19 16:34:21 teralehti avahi: since .local should be used exclusively for Zeroconf technology.
May 19 16:34:21 teralehti avahi: For more information, see http://avahi.org/wiki/AvahiAndUnicastDotLocal
May 19 16:34:21 teralehti postfix/master[2986]: reload -- version 2.10.0, configuration /etc/postfix
May 19 16:34:38 teralehti NetworkManager[7371]: <info> caught signal 15, shutting down normally.
May 19 16:34:38 teralehti NetworkManager[7371]: <info> (eth0): device state change: disconnected -> unmanaged (reason 'removed') [30 10 36]
May 19 16:34:38 teralehti NetworkManager[7371]: <info> (eth0): cleaning up...
May 19 16:34:38 teralehti NetworkManager[7371]: <info> (eth0): taking down device.
May 19 16:34:38 teralehti dhclient: receive_packet failed on eth0: Network is down
May 19 16:34:38 teralehti NetworkManager[7371]: <info> (wlan0): device state change: unavailable -> unmanaged (reason 'removed') [20 10 36]
May 19 16:34:38 teralehti NetworkManager[7371]: <info> exiting (success)
May 19 16:34:38 teralehti dbus[2460]: [system] Activating service name='org.freedesktop.NetworkManager' (using servicehelper)
May 19 16:34:38 teralehti dbus[2460]: [system] Activated service 'org.freedesktop.NetworkManager' failed: Launch helper exited with unknown return code 1
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.8-2-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.10-1
ii isc-dhcp-client 4.2.4-6
ii libc6 2.17-3
ii libdbus-1-3 1.6.10-1
ii libdbus-glib-1-2 0.100.2-1
ii libgcrypt11 1.5.0-5
ii libglib2.0-0 2.36.1-2build1
ii libgnutls26 2.12.23-4
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-5
ii libnm-util2 0.9.8.0-5
ii libpolkit-gobject-1-0 0.105-3
ii libuuid1 2.20.1-5.4
ii lsb-base 4.1+Debian11
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