[pkg-dhcp-devel] Bug#553211: /sbin/dhclient: Patch.

Michal Suchanek michal.suchanek at ruk.cuni.cz
Mon Nov 21 15:05:13 UTC 2011


Excerpts from Andrew Pollock's message of Sun Nov 20 06:05:54 +0100 2011:
> On Wed, May 18, 2011 at 04:18:11PM +0200, Michal Suchanek wrote:

> 
> > 
> > This patch relies on kernel cache to hold the "ifconfig" and "route"
> > binaries while the network is down and on the network filesystem driver
> > to retry any transactions that might get lost while networking is
> > reenacted by dhclient.
> 
> So if I'm reading your patch correctly, it looks like just the act of doing
> an ifconfig up of an already up interface is enough to cause an NFS-mounted
> root filesystem to lose the plot?

No. The script does "ifconfig $interface inet 0 up" which clears the
internet address in the interface which obviously does break networking.

> 
> Unfortunately since you wrote your patch, we've gone and changed
> dhclient-script to use iproute2 instead of ifconfig and friends, so I'd like
> to know if the "ip link set dev blah up" we're now doing in place of the
> ifconfig call also causes the problem.

So long as it merely brings up the interface but does not change the
address it should not cause problems.

Thanks

Michal





More information about the pkg-dhcp-devel mailing list