Hello,

On Sun, May 27, 2012 at 05:58:05PM +0200, Andrew Shadura wrote:
> Hello,
> 
> On Sun, 27 May 2012 17:24:38 +0200
> Jan Huijsmans <huysm...@koffie.nu> wrote:
> 
> > Package: netbase
> > Version: 5.0
> > Severity: critical
> > Tags: ipv6
> > Justification: breaks the whole system
> > 
> > Dear Maintainer,
> > 
> > Upgrade from 4.47 to 5.0 resulted in failure to add every static ipv6
> > address configured in /etc/network/interfaces. Looks like ipv6 is
> > completely ignored. Adding manually works.
> If you did read what does it say, you could see the following:
> 
> Error: an inet prefix is expected rather than "2001:610:611:2::42/64/64".
> Failed to bring up eth0.

Nop, just 'eth0 already configured' when restarting via /etc/init.d/networking
Haven't got access to the console and no errors were found in any of the
logfiles.

> Which means that you have specified the netmask twice:
> 
> > iface eth0 inet6 static
> >         address 2001:610:611:2::42/64
> >         netmask 64
> 
> Previously, ifupdown was using ifconfig which would silently swallow
> this and just set it up, but iproute (which we use now) does complain.
> Probably, in the next upload I will teach ifupdown to cope with this,
> but this isn't strictly a valid configuration.

When correcting the error, all interfaces are back online again after reboot.
When finding an error in the interfaces file, the bootscript fails and quits.
I don't think this is desirable behaviour. I would skip to the next interface
and resume there.

> >         up /sbin/ifconfig eth0 inet6 add 2001:610:611:2::4/64 
> >         up /sbin/ifconfig eth0 inet6 add 2001:610:611:2::140/64 
> >         up /sbin/ifconfig eth0 inet6 add 2001:610:611:2::141/64 
> >         up /sbin/ifconfig eth0 inet6 add 2001:610:611:2::142/64 
> >         up /sbin/ifconfig eth0 inet6 add 2001:610:611:2::143/64 
> >         up /sbin/ifconfig eth0 inet6 add 2001:610:611:2::144/64 
> >         up /sbin/ifconfig eth0 inet6 add 2001:610:611:2::145/64 
> >         up /sbin/ifconfig eth0 inet6 add 2001:610:611:2::146/64 
> >         up /sbin/ifconfig eth0 inet6 add 2001:610:611:2::642/64 
> This is not needed any more, by the way, you can specify as many 'iface
> eth0 inet6 static' sections as you want. Also, I promise to come up
> with a better syntax to the next release ;)

It could, but this is easier (and a lot less typing is required)

---

Jan Huijsmans              huysm...@koffie.nu

... cannot activate /dev/brain, no response from main coffee server





-- 
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