From: "\"Tóth Attila\"" <atoth@atoth.sote.hu>
To: gentoo-hardened@lists.gentoo.org
Subject: Re: [gentoo-hardened] openrc-0.9.8.2 screwed up bonding config
Date: Thu, 26 Jan 2012 13:29:56 +0100 [thread overview]
Message-ID: <405ffa99efd2c9a8c97e680fa0339a92.squirrel@atoth.sote.hu> (raw)
In-Reply-To: <4cd77b827cb89a8b00b45ec0f9d0cf62.squirrel@atoth.sote.hu>
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
>
>
>
prev parent reply other threads:[~2012-01-26 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-26 1:15 [gentoo-hardened] openrc-0.9.8.2 screwed up bonding config "Tóth Attila"
2012-01-26 12:29 ` "Tóth Attila" [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=405ffa99efd2c9a8c97e680fa0339a92.squirrel@atoth.sote.hu \
--to=atoth@atoth.sote.hu \
--cc=gentoo-hardened@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox