[Pkg-utopia-maintainers] Bug#643401: Enabling automatic IPv6 causes 20 second timeout before IPv4 works

Josh Triplett josh at joshtriplett.org
Tue Sep 27 12:29:39 UTC 2011


Package: network-manager
Version: 0.9.0-2
Severity: normal

Occasionally, I connect to a network where IPv6 works.  So, I set my
default wired connection to use IPv6 method "Automatic", but I still
leave "Require IPv6 addressing for this connection to complete"
unchecked.  However, this causes NetworkManager to spend 20 seconds
timing out IPv6 before IPv4 connectivity works:

Sep 27 05:02:02 leaf NetworkManager[1326]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Sep 27 05:02:02 leaf NetworkManager[1326]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Sep 27 05:02:02 leaf NetworkManager[1326]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Sep 27 05:02:02 leaf NetworkManager[1326]: <info> dhclient started with pid 1788
Sep 27 05:02:02 leaf NetworkManager[1326]: <info> Activation (eth0) Beginning IP6 addrconf.
Sep 27 05:02:02 leaf NetworkManager[1326]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Sep 27 05:02:02 leaf dhclient: Internet Systems Consortium DHCP Client 4.1.1-P1
Sep 27 05:02:02 leaf dhclient: Copyright 2004-2010 Internet Systems Consortium.
Sep 27 05:02:02 leaf dhclient: All rights reserved.
Sep 27 05:02:02 leaf dhclient: For info, please visit https://www.isc.org/software/dhcp/
Sep 27 05:02:02 leaf dhclient: 
Sep 27 05:02:02 leaf NetworkManager[1326]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Sep 27 05:02:02 leaf dhclient: Listening on LPF/eth0/[omitted]
Sep 27 05:02:02 leaf dhclient: Sending on   LPF/eth0/[omitted]
Sep 27 05:02:02 leaf dhclient: Sending on   Socket/fallback
Sep 27 05:02:02 leaf dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
Sep 27 05:02:03 leaf dhclient: DHCPOFFER from [omitted]
Sep 27 05:02:03 leaf dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67
Sep 27 05:02:03 leaf dhclient: DHCPACK from [omitted]
Sep 27 05:02:03 leaf dhclient: bound to [omitted] -- renewal in 1653 seconds.
Sep 27 05:02:03 leaf NetworkManager[1326]: <info> (eth0): DHCPv4 state changed preinit -> bound
Sep 27 05:02:03 leaf NetworkManager[1326]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) scheduled...
Sep 27 05:02:03 leaf NetworkManager[1326]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) started...
Sep 27 05:02:03 leaf NetworkManager[1326]: <info>   address [omitted]
Sep 27 05:02:03 leaf NetworkManager[1326]: <info>   prefix [omitted]
Sep 27 05:02:03 leaf NetworkManager[1326]: <info>   gateway [omitted]
Sep 27 05:02:03 leaf NetworkManager[1326]: <info>   nameserver [omitted]
Sep 27 05:02:03 leaf NetworkManager[1326]: <info>   nameserver [omitted]
Sep 27 05:02:03 leaf NetworkManager[1326]: <info>   nameserver [omitted]
Sep 27 05:02:03 leaf NetworkManager[1326]: <info>   domain name [omitted]
Sep 27 05:02:03 leaf NetworkManager[1326]: <info>   wins [omitted]
Sep 27 05:02:03 leaf NetworkManager[1326]: <info> Activation (eth0) Stage 4 of 5 (IP4 Configure Get) complete.
Sep 27 05:02:03 leaf avahi-daemon[1295]: Joining mDNS multicast group on interface eth0.IPv6 with address [omitted]
Sep 27 05:02:03 leaf avahi-daemon[1295]: New relevant interface eth0.IPv6 for mDNS.
Sep 27 05:02:03 leaf avahi-daemon[1295]: Registering new address record for [omitted] on eth0.*.
Sep 27 05:02:12 leaf kernel: [   76.829155] eth0: no IPv6 routers present
Sep 27 05:02:22 leaf NetworkManager[1326]: <info> (eth0): IP6 addrconf timed out or failed.
Sep 27 05:02:22 leaf NetworkManager[1326]: <info> Activation (eth0) Stage 4 of 5 (IP6 Configure Timeout) scheduled...
Sep 27 05:02:22 leaf NetworkManager[1326]: <info> Activation (eth0) Stage 4 of 5 (IP6 Configure Timeout) started...
Sep 27 05:02:22 leaf NetworkManager[1326]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
Sep 27 05:02:22 leaf NetworkManager[1326]: <info> Activation (eth0) Stage 4 of 5 (IP6 Configure Timeout) complete.
Sep 27 05:02:22 leaf NetworkManager[1326]: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
Sep 27 05:02:22 leaf avahi-daemon[1295]: Joining mDNS multicast group on interface eth0.IPv4 with address [omitted]
Sep 27 05:02:22 leaf avahi-daemon[1295]: New relevant interface eth0.IPv4 for mDNS.
Sep 27 05:02:22 leaf avahi-daemon[1295]: Registering new address record for [omitted] on eth0.IPv4.

Notice the long gap from 05:02:03 to 05:02:22, and that NetworkManager
doesn't finish setting up IPv4 until after that point.  I'd ideally like
the network to become usable the instant NetworkManager obtains an IPv4
address.

- Josh Triplett

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages network-manager depends on:
ii  adduser                3.113      
ii  dbus                   1.4.16-1   
ii  isc-dhcp-client        4.1.1-P1-17
ii  libc6                  2.13-21    
ii  libdbus-1-3            1.4.16-1   
ii  libdbus-glib-1-2       0.96-1     
ii  libgcrypt11            1.5.0-3    
ii  libglib2.0-0           2.28.6-1   
ii  libgnutls26            2.12.10-2  
ii  libgudev-1.0-0         172-1      
ii  libnl1                 1.1-7      
ii  libnm-glib4            0.9.0-2    
ii  libnm-util2            0.9.0-2    
ii  libpolkit-gobject-1-0  0.102-1    
ii  libuuid1               2.19.1-5   
ii  lsb-base               3.2-28     
ii  udev                   172-1      
ii  wpasupplicant          0.7.3-4    

Versions of packages network-manager recommends:
pn  dnsmasq-base  2.58-3  
pn  iptables      1.4.12-1
pn  modemmanager  <none>  
pn  policykit-1   0.102-1 
pn  ppp           <none>  

Versions of packages network-manager suggests:
pn  avahi-autoipd  <none>

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list