Comment 13 for bug 13947

Revision history for this message
Carlos Garnacho (carlosg) wrote :

Created an attachment (id=1848)
Patch to fix this

Ok, found the problem (Thanks Hal for helping)

The dhclient v2. (In the debian package dhcp-client) uses -e behaving correctly
inside shell scripts, returning errors and so if it couldn't configure the
interface, in dhclient v3. -e is used for passing envvars to the dhclient
internal environment.

I couldn't find any equivalence for this in the version 3 client, so the
behavior might be a bit broken if there isn't a correctly configured dhcp
network for the interface (dhclient3 will simply use the last assigned IP
address, which might not be what the user desires), but anyway it will be less
broken that how it's now :)

This patch is already in GST CVS