Gentoo Archives: gentoo-user

From: William Hubbs <williamh@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How's the openrc update going for everyone?
Date: Fri, 13 May 2011 16:33:05
Message-Id: 20110513163124.GA13653@linux1
In Reply to: Re: [gentoo-user] How's the openrc update going for everyone? by Peter Humphrey
1 On Fri, May 13, 2011 at 04:21:41PM +0100, Peter Humphrey wrote:
2 > On Friday 13 May 2011 03:30:27 Manuel McLure wrote:
3 > > Just ran into a gotcha with my main server upgrade to
4 > > openrc/baselayout2 - it appears that the old ifconfig network syntax
5 > > no longer works. I kept getting the message:
6 > >
7 > > Error: either "local" is duplicate, or "netmask" is garbage
8 > >
9 > > until I changed the syntax from
10 > >
11 > > config_eth0="XX.YY.ZZ.WW broadcast XX.YY.ZZ.255 netmask 255.255.255.0"
12 > >
13 > > to
14 > >
15 > > config_eth0="XX.YY.ZZ.WW/24"
16 > >
17 > > The other syntax worked in baselayout1.
18
19 That error message comes from iproute2, so it looks like you hit this
20 bug:
21
22 http://bugs.gentoo.org/show_bug.cgi?id=366905
23
24 In a nutshell we are trying to convert ifconfig syntax to iproute2
25 syntax, but we do not do it correctly in this case.
26
27 The consensus on the dev list seems to be that it is fine to stop doing
28 that, so at some point in the future, probably a release coming up soon,
29 the syntax of config_* lines will have to match the tool you are using
30 to configure the interfaces.
31
32 William

Replies

Subject Author
Re: [gentoo-user] How's the openrc update going for everyone? Manuel McLure <manuel@××××××.org>