This happen to me as well.
I find that is is due passing -e to dhclient without variable.
# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth2
auto eth2
iface eth2 inet dhcp
#auto br0
#iface br0 inet dhcp
# bridge_ports eth2
#iface eth2 inet static
# address 192.168.1.1
# netmask 255.255.255.0
# network 192.168.1.0
# broadcast 192.168.1.255
# gateway 192.168.1.1
# dns-* options are implemented by the resolvconf package, if installed
# dns-nameservers 192.168.0.1
I enabled debug messages and I run:
# ifup eth2 -vvv
Configuring interface eth2=eth2 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/bridge
run-parts: executing /etc/network/if-pre-up.d/ethtool
run-parts: executing /etc/network/if-pre-up.d/linux-wlan-ng-pre-up
run-parts: executing /etc/network/if-pre-up.d/vde2
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
dhclient -e -pf /var/run/dhclient.eth2.pid -lf
/var/lib/dhcp/dhclient.eth2.leases eth2
/var/run/dhclient.eth2.pid: interface name too long (is 26)
Failed to bring up eth2.
The parameter -e of dhclient eat -pf and take it as variable, therefore
/var/run/dhclient.eth2.pid is evalueated as name of interface.
That -e should not be passed if there are no variable to pass. Or run it as:
dhclient -e '' -pf ...
Miroslav Suchy
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]