Package: ifupdown Version: 0.6.9 Severity: critical Hi,
I've been bitten by this bug and the host is down simply because by mistake I've added one virtual interface 'eth0:LABEL' twice, even if none of them are set with 'auto': | r...@r2:/etc/network# /etc/init.d/networking start | Configuring network interfaces.../etc/network/interfaces:48: duplicate interface | ifup: couldn't read interfaces file "/etc/network/interfaces" | failed. This is the block of lines that was added twice: | #auto eth0:ns1 | iface eth0:ns1 inet static | address 66.x.y.1 | netmask 255.255.255.192 First of all it must ignore 'iface' definitions that are not marked with 'auto'. Secondly, it should just ignore all duplicate definitions after the first one marked with 'auto' that was started already. A warning about duplicate definitions that are ignored would be a useful information for the sysadmin. The breakage has happened on a remote host that has Debian 5.0 (lenny), but I'm writing the bug from my laptop since I've reproduced it with the current version from 'testing/squeeze'. Thanks -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages ifupdown depends on: ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib ii lsb-base 3.2-23 Linux Standard Base 3.2 init scrip ii net-tools 1.60-23 The NET-3 networking toolkit ifupdown recommends no packages. Versions of packages ifupdown suggests: ii dhcp3-client 3.1.3-2 DHCP client ii iproute 20100224-1 networking and traffic control too ii ppp 2.4.4rel-10.1 Point-to-Point Protocol (PPP) - da -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

