reassign 370579 ifupdown thanks On Tue, Jun 06, 2006 at 12:38:23AM +0200, Vincent Lönngren wrote: > Package: dhcp3-client > Version: 3.0.4-2 > Severity: minor > > Output of ifdown -a: > > There is already a pid file /var/run/dhclient.eth0.pid with pid 2299 > killed old client process, removed PID file > Internet Systems Consortium DHCP Client V3.0.4 > Copyright 2004-2006 Internet Systems Consortium. > All rights reserved. > For info, please visit http://www.isc.org/sw/dhcp/ > > [and so on] > > Why is the existing pid file mentioned? It would be more reasonable to > display a warning if there isn't one.
The reason is because ifdown invokes a second dhclient with a -r option (and an option to use the same pidfile as the already running dhclient) to explicitly release the lease, and then kills the running dhclient. There's a few options available to resolve this, they all lie with ifupdown: 1) kill dhclient, then send an explicit DHCPRELEASE 2) invoke the dhclient that does the release with a different pidfile option (or no -pf at all) 3) use omshell to request a DHCPRELEASE of the already-running dhclient (but this requires me to redo the packaging of dhcp3 such that omshell is available if only dhcp3-client is installed, currently it ships with dhcp3-server, which is probably an oversight). regards Andrew

