Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Gentoo Hardened (http://www.linux-archive.org/gentoo-hardened/)
-   -   openrc-0.9.8.2 screwed up bonding config (http://www.linux-archive.org/gentoo-hardened/625162-openrc-0-9-8-2-screwed-up-bonding-config.html)

"Tóth Attila" 01-26-2012 12:15 AM

openrc-0.9.8.2 screwed up bonding config
 
I'm sorry for being offtopic, but this is the list I can rely on.
I've just upgraded openrc from 0.9.4 to 0.9.8.2 and my server went offline.
After struggling with the remote console, it turned out, that the new
openrc system incorrectly builds up my bonding config. It assigns the IP
address to the eth1 interface and bonding stands there without an IP. In
addition it also fails to define routes properly.

WHAT? I don't know how many of us will spend significant amount of time
with it, but that's too much for me.

I see, that conf.d/network took over conf.d/net. My bonding config is
simple as my finger.

Here is my regular net syntax:
config_eth0=( "null" )
config_eth1=( "null" )
RC_NEED_eth0="net.bond0"
config_bond0="<myip> netmask 255.255.255.192 brd <mybroadcast>"
routes_bond0="default gw <mygateway>"
dns_domain="mydomain"

It works fine, it prevents eth interfaces getting IP and sets bond0 and
route perfectly.

That would be the network syntax:
defaultroute="gw <mygateway>"
ip_bond0="<myiip>/26"
defaultiproute="via <mygateway>"
ifup_bond0="ifenslave bond0 eth0 eth1"

It sucks.
Is there a working simple bonding example?

Please let me know where I can ask for proper help. Gentoo install still
talks about net. Is there a document on how to set up bonding with the new
network config syntax?

Ridiculous:
Dwokfur
--
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057

"Tóth Attila" 01-26-2012 11:29 AM

openrc-0.9.8.2 screwed up bonding config
 
I was lucky to hit this one:
https://bugs.gentoo.org/show_bug.cgi?id=400613

Regards:
Dw.
--
dr Tóth Attila, Radiológus, 06-20-825-8057
Attila Toth MD, Radiologist, +36-20-825-8057

2012.Január 26.(Cs) 02:15 idÅ‘pontban "Tóth Attila" ezt Ã*rta:
> I'm sorry for being offtopic, but this is the list I can rely on.
> I've just upgraded openrc from 0.9.4 to 0.9.8.2 and my server went
> offline.
> After struggling with the remote console, it turned out, that the new
> openrc system incorrectly builds up my bonding config. It assigns the IP
> address to the eth1 interface and bonding stands there without an IP. In
> addition it also fails to define routes properly.
>
> WHAT? I don't know how many of us will spend significant amount of time
> with it, but that's too much for me.
>
> I see, that conf.d/network took over conf.d/net. My bonding config is
> simple as my finger.
>
> Here is my regular net syntax:
> config_eth0=( "null" )
> config_eth1=( "null" )
> RC_NEED_eth0="net.bond0"
> config_bond0="<myip> netmask 255.255.255.192 brd <mybroadcast>"
> routes_bond0="default gw <mygateway>"
> dns_domain="mydomain"
>
> It works fine, it prevents eth interfaces getting IP and sets bond0 and
> route perfectly.
>
> That would be the network syntax:
> defaultroute="gw <mygateway>"
> ip_bond0="<myiip>/26"
> defaultiproute="via <mygateway>"
> ifup_bond0="ifenslave bond0 eth0 eth1"
>
> It sucks.
> Is there a working simple bonding example?
>
> Please let me know where I can ask for proper help. Gentoo install still
> talks about net. Is there a document on how to set up bonding with the new
> network config syntax?
>
> Ridiculous:
> Dwokfur
> --
> dr Tóth Attila, Radiológus, 06-20-825-8057
> Attila Toth MD, Radiologist, +36-20-825-8057
>
>
>


All times are GMT. The time now is 06:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.