From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RqOTo-0003xX-46 for garchives@archives.gentoo.org; Thu, 26 Jan 2012 12:31:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 987B2E07C8; Thu, 26 Jan 2012 12:30:50 +0000 (UTC) Received: from atoth.sote.hu (atoth.sote.hu [195.111.75.211]) by pigeon.gentoo.org (Postfix) with ESMTP id 56239E07C5 for ; Thu, 26 Jan 2012 12:30:04 +0000 (UTC) Received: from atoth.sote.hu (apache@localhost [127.0.0.1]) by atoth.sote.hu (8.14.5/8.14.5/atoth@atoth.sote.hu) with ESMTP id q0QCTuVb013798 for ; Thu, 26 Jan 2012 13:29:56 +0100 X-DKIM: Sendmail DKIM Filter v2.8.3 atoth.sote.hu q0QCTuVb013798 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atoth.sote.hu; s=dwokfur; t=1327581003; bh=J8kLsNse37dPEG12scYIlpeZin2qcViyp1xuhRtpnQI=; l=1815; h=Message-ID:In-Reply-To:References:Date:Subject:From:To: MIME-Version:Content-Type:Content-Transfer-Encoding; b=M3N6/zOOURP+ljf/sESPuurE7+Dm2QYK9eLB74c34KPWtj5IonE7jAmtz/nIIg4n9 Xu2l3jk+KyL7k0ITOIMCGnG3HnT6S2o/0T8tYwPCAn6CH+N6Ev6kcv248bn+wZ6nQm alOW9KhjU6P+L8xMKpfM9dTjZ+RCqLQe2A3ZgNXw= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 atoth.sote.hu q0QCTuVb013798 DomainKey-Signature: a=rsa-sha1; s=dwokfur; d=atoth.sote.hu; c=nofws; q=dns; h=x-virus-status:x-virus-scanned:received:message-id: in-reply-to:references:date:subject:from:to:user-agent:mime-version: content-type:content-transfer-encoding:x-priority:importance: x-spam-status:x-spam-checker-version:x-list-milter:x-dcc-wuwien-metrics; b=OIroqgYr6LAvxdGRhAJpZUuPbE/ZnnDDf8ZgrxsW0fSdyx1FgbYhTJRCe/WPDepgN w5lTyLiTxcNqH+dMHSfj47iUiKvosnUBDey+iI4IOiEWEQprzYcaxUw89MkFJTF/eMy ddCI88GTlJRnHjAhd347M0Icz8jJpOk+7NAFlt8= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.3 at atoth Received: from 10.97.100.79 (SquirrelMail authenticated user atoth) by atoth.sote.hu with HTTP; Thu, 26 Jan 2012 13:29:56 +0100 Message-ID: <405ffa99efd2c9a8c97e680fa0339a92.squirrel@atoth.sote.hu> In-Reply-To: <4cd77b827cb89a8b00b45ec0f9d0cf62.squirrel@atoth.sote.hu> References: <4cd77b827cb89a8b00b45ec0f9d0cf62.squirrel@atoth.sote.hu> Date: Thu, 26 Jan 2012 13:29:56 +0100 Subject: Re: [gentoo-hardened] openrc-0.9.8.2 screwed up bonding config From: =?utf-8?B?IlTDs3RoIEF0dGlsYSI=?= To: gentoo-hardened@lists.gentoo.org User-Agent: SquirrelMail/1.4.22 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-hardened@lists.gentoo.org Reply-to: gentoo-hardened@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 X-Priority: 3 (Normal) Importance: Normal X-Spam-Status: No, score=-99.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DKIM_ADSP_ALL,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on atoth.sote.hu X-List-Milter: local mail X-DCC-wuwien-Metrics: atoth 1290; Body=2 Fuz1=2 Fuz2=2 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 4a7c1e34-a5cd-48b6-9cf6-43901b292158 X-Archives-Hash: 36d5c3e7ce927c08ed133ded46c2e399 I was lucky to hit this one: https://bugs.gentoo.org/show_bug.cgi?id=3D400613 Regards: Dw. --=20 dr T=C3=B3th Attila, Radiol=C3=B3gus, 06-20-825-8057 Attila Toth MD, Radiologist, +36-20-825-8057 2012.Janu=C3=A1r 26.(Cs) 02:15 id=C5=91pontban "T=C3=B3th Attila" ezt =C3= =ADrta: > 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 I= P > address to the eth1 interface and bonding stands there without an IP. I= n > 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=3D( "null" ) > config_eth1=3D( "null" ) > RC_NEED_eth0=3D"net.bond0" > config_bond0=3D" netmask 255.255.255.192 brd " > routes_bond0=3D"default gw " > dns_domain=3D"mydomain" > > It works fine, it prevents eth interfaces getting IP and sets bond0 and > route perfectly. > > That would be the network syntax: > defaultroute=3D"gw " > ip_bond0=3D"/26" > defaultiproute=3D"via " > ifup_bond0=3D"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 stil= l > talks about net. Is there a document on how to set up bonding with the = new > network config syntax? > > Ridiculous: > Dwokfur > -- > dr T=C3=B3th Attila, Radiol=C3=B3gus, 06-20-825-8057 > Attila Toth MD, Radiologist, +36-20-825-8057 > > >