[Pkg-utopia-maintainers] Bug#422752: network-manager: DHCPRELEASE sent *after* interface is disconnected.

Jason Riedy jason at acm.org
Tue May 8 04:28:29 UTC 2007


Package: network-manager
Version: 0.6.4-8
Severity: normal


On a laptop with wired (eth0) and wireless (eth2) adapters, setting 
knetworkmanger to offline yields the following:

> May  7 21:04:28 nan NetworkManager: <information>^IGoing to sleep.
> May  7 21:04:28 nan dhclient: There is already a pid file /var/run/dhclient.eth2.pid with pid 5834
> May  7 21:04:28 nan dhclient: killed old client process, removed PID file
> May  7 21:04:28 nan avahi-daemon[3811]: Interface eth2.IPv4 no longer relevant for mDNS.
> May  7 21:04:28 nan avahi-daemon[3811]: Leaving mDNS multicast group on interface eth2.IPv4 with address 192.168.0.23.
> May  7 21:04:28 nan avahi-daemon[3811]: Withdrawing address record for fe80::21b:77ff:fe01:e055 on eth2.
> May  7 21:04:28 nan avahi-daemon[3811]: Withdrawing address record for 192.168.0.23 on eth2.
> May  7 21:04:28 nan dhclient: receive_packet failed on eth0: Network is down
> May  7 21:04:28 nan dhclient: DHCPRELEASE on eth2 to 192.168.0.2 port 67
> May  7 21:04:28 nan dhclient: send_packet: Network is unreachable
> May  7 21:04:28 nan dhclient: send_packet: please consult README file regarding broadcast address.
> May  7 21:04:28 nan kernel: ADDRCONF(NETDEV_UP): eth2: link is not ready

I don't think any of the broadcast concerns in 
/usr/share/doc/dhcp3-common/README.gz apply.  I suspect the wireless 
association is removed before dhclient runs, but I'm not sure how to 
trace the actual actions.  And I can't seem to get the dbus magic right 
to drop a script in /etc/network/if-down.d to release the lease and 
sleep a second.  If I could figure that bit out, I could at least test 
my assumption.

I'm set up to send a DHCP hostname to get a specific IP address.
Not sending the DHCPRELEASE means the server still thinks the wireless 
has the lease, and the wired adapter won't get the correct IP. 

Any help appreciated.  (The eth0 line in the above appears to be a 
separate problem.  There's always a dhclient3 running on eth0 even with 
no auto line in /etc/network/interfaces.  Blah.  I can't figure out 
what's running it.)

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

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

Versions of packages network-manager depends on:
ii  adduser              3.102               Add and remove users and groups
ii  dbus                 1.0.2-5             simple interprocess messaging syst
ii  dhcdbd               2.0-4               D-Bus interface to the ISC DHCP cl
ii  hal                  0.5.8.1-9           Hardware Abstraction Layer
ii  ifupdown             0.6.8               high level tools to configure netw
ii  iproute              20061002-4          Professional tools to control the 
ii  iputils-arping       3:20070202-1        Tool to send ICMP echo requests to
ii  libc6                2.5-7               GNU C Library: Shared libraries
ii  libdbus-1-3          1.0.2-5             simple interprocess messaging syst
ii  libdbus-glib-1-2     0.73-2              simple interprocess messaging syst
ii  libgcrypt11          1.2.4-2             LGPL Crypto library - runtime libr
ii  libglib2.0-0         2.12.12-1           The GLib library of C routines
ii  libgpg-error0        1.4-2               library for common error values an
ii  libhal1              0.5.8.1-9           Hardware Abstraction Layer - share
ii  libiw29              29~pre21-1          Wireless tools - library
ii  libnl1-pre6          1.0~pre6-5          Library for dealing with netlink s
ii  libnm-util0          0.6.4-8             network management framework (shar
ii  lsb-base             3.1-23.1            Linux Standard Base 3.1 init scrip
ii  wpasupplicant        0.6.0~cvs20070224-2 Client support for WPA and WPA2 (I

Versions of packages network-manager recommends:
ii  network-manager-kde           1:0.1-4    KDE systray applet for controlling

-- no debconf information




More information about the Pkg-utopia-maintainers mailing list