[pkg-dhcp-devel] Bug#576715: Bug#576715: metric option not honoured

Andrew Pollock apollock at debian.org
Tue Apr 6 18:36:39 UTC 2010


On Tue, Apr 06, 2010 at 08:12:33PM +0200, martin f krafft wrote:
> Package: isc-dhcp-client
> Version: 3.1.1-6
> Severity: normal
> File: /sbin/dhclient-script
> 
> (also found in 4.1.0-1)
> 
> The script suggests (/IF_METRIC/) that a route metric can be set
> from /etc/network/interfaces, but neither are ifupdown variables
> available to dhclient, nor does interfaces(5) suggest the
> availability of that option for the dhcp method.
> 
> It would be nice, but…
> 

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=235136#50

The main problem is that dhclient sanitises its environment, and I'm
reluctant to start special-casing specific environment variables by name
with -e

So what we really need is some way to whitelist IF_* variables





More information about the pkg-dhcp-devel mailing list