Package: ifupdown
Version: 0.7~alpha5.1ubuntu5
Severity: normal

The following bug report was filed against Ubuntu Oneiric:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/678425

After a bit of testing I managed to reproduce it on Debian too.

Using the following /etc/network/interfaces:
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 192.168.122.17
    netmask 255.255.255.0
    gateway 192.168.122.1

auto eth0:0
iface eth0:0 inet static
    address 192.168.122.18
    netmask 255.255.255.0

ifupdown 0.7~alpha5+really0.6.15 properly brings up both eth0 and eth0:0 when
doing "ifup -a", after upgrading to ifupdown 0.7~beta1, only eth0 is up.

root@debian01:~# ifdown -a
root@debian01:~# ifconfig
root@debian01:~# ifup -a
root@debian01:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 8a:90:f8:95:7a:80  
          inet addr:192.168.122.17  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::8890:f8ff:fe95:7a80/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60745 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46113 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:89047505 (84.9 MiB)  TX bytes:3240597 (3.0 MiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@debian01:~# ifup eth0:0
ifup: interface eth0:0 already configured

Explicitly bringing up eth0:0 when eth0 is also considered down gives some
intersting result:

root@debian01:~# ifdown -a
root@debian01:~# ifup eth0:0
root@debian01:~# ifconfig 
eth0      Link encap:Ethernet  HWaddr 8a:90:f8:95:7a:80  
          inet addr:192.168.122.18  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: fe80::8890:f8ff:fe95:7a80/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60774 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:89048999 (84.9 MiB)  TX bytes:3241631 (3.0 MiB)

root@debian01:~# ifup --version
ifup version 0.7beta
Copyright (c) 1999-2007 Anthony Towns

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (SMP w/4 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  initscripts         2.88dsf-13.10ubuntu4 scripts for initializing and shutt
ii  iproute             20110315-1build1     networking and traffic control too
ii  libc6               2.13-20ubuntu5       Embedded GNU C Library: Shared lib
ii  lsb-base            4.0-0ubuntu16        Linux Standard Base 4.0 init scrip
ii  upstart [upstart-jo 1.3-0ubuntu10        event-based init daemon

ifupdown recommends no packages.

Versions of packages ifupdown suggests:
ii  isc-dhcp-client [dhc 4.1.1-P1-17ubuntu10 ISC DHCP client
ii  net-tools            1.60-23ubuntu3      The NET-3 networking toolkit
ii  ppp                  2.4.5-5ubuntu1      Point-to-Point Protocol (PPP) - da
pn  rdnssd               <none>              (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to