Bug#379138: fails to start if there's labeled addresses present
* Andrew Pollock For what it's worth, if I add an IP address to eth0 with a label of eth0foo, ifconfig also has a hard time dealing with the situation. Try it and see. I suspect iproute is letting us doing things with the networking that older tools and methods of querying can't deal with. Well, ifconfig has been deprecated for years in favour of iproute2, precisely because it can't deal with lots of functionality modern Linux kernels provide. Developement on net-tools ceased in April 2001! So that's not really a good excuse for the dhcp3 suite to failing to work in what has been a perfectly valid setup for many years, IMHO. Regards -- Tore Anderson -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#379138: fails to start if there's labeled addresses present
severity 379138 normal thanks On Fri, Jul 21, 2006 at 06:40:51PM +0200, Tore Anderson wrote: Package: dhcp3-relay Version: 3.0.4-6 Severity: important I believe the following terminal log tells the full story: [EMAIL PROTECTED] :) sudo dhcrelay3 -i eth0 -d 10.0.0.1 Internet Systems Consortium DHCP Relay Agent V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Listening on LPF/eth0/00:50:8d:55:6a:fe Sending on LPF/eth0/00:50:8d:55:6a:fe Sending on Socket/fallback ^C [EMAIL PROTECTED] :( sudo ip a a 192.168.1.1/24 dev eth0 label eth0foo [EMAIL PROTECTED] :) sudo dhcrelay3 -i eth0 -d 10.0.0.1 Internet Systems Consortium DHCP Relay Agent V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Can't get interface flags for eth0foo: No such device For some reason it assumes «eth0foo» is a device of its own, which is not the case (doesn't show up as a separate interface in /proc/net/dev nor in the output of «ip a s»). It fails like this even when I ask it to listen on another interface which doesn't have labeled addresses, as long as a labeled address exist on a (unrelated) interface. I think this may fall into the Patient: Doctor, it hurts when I do this Doctor: Well don't do that then category. For what it's worth, if I add an IP address to eth0 with a label of eth0foo, ifconfig also has a hard time dealing with the situation. Try it and see. I suspect iproute is letting us doing things with the networking that older tools and methods of querying can't deal with. I'll try to send this upstream, but I don't know how much success I'll have. regards Andrew
Bug#379138: fails to start if there's labeled addresses present
Package: dhcp3-relay Version: 3.0.4-6 Severity: important I believe the following terminal log tells the full story: [EMAIL PROTECTED] :) sudo dhcrelay3 -i eth0 -d 10.0.0.1 Internet Systems Consortium DHCP Relay Agent V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Listening on LPF/eth0/00:50:8d:55:6a:fe Sending on LPF/eth0/00:50:8d:55:6a:fe Sending on Socket/fallback ^C [EMAIL PROTECTED] :( sudo ip a a 192.168.1.1/24 dev eth0 label eth0foo [EMAIL PROTECTED] :) sudo dhcrelay3 -i eth0 -d 10.0.0.1 Internet Systems Consortium DHCP Relay Agent V3.0.4 Copyright 2004-2006 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ Can't get interface flags for eth0foo: No such device For some reason it assumes «eth0foo» is a device of its own, which is not the case (doesn't show up as a separate interface in /proc/net/dev nor in the output of «ip a s»). It fails like this even when I ask it to listen on another interface which doesn't have labeled addresses, as long as a labeled address exist on a (unrelated) interface. Regards Tore Anderson -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-1-k7 Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Versions of packages dhcp3-relay depends on: ii debconf [debconf-2.0] 1.5.2 Debian configuration management sy ii debianutils 2.16.2 Miscellaneous utilities specific t ii dhcp3-common 3.0.4-6Common files used by all the dhcp3 ii libc6 2.3.6-15 GNU C Library: Shared libraries dhcp3-relay recommends no packages. -- debconf information: * dhcp3-relay/servers: 10.0.0.1 * dhcp3-relay/interfaces: eth0 * dhcp3-relay/options: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]