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 1RqDx9-00060g-UK for garchives@archives.gentoo.org; Thu, 26 Jan 2012 01:16:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C2B5E0817; Thu, 26 Jan 2012 01:16:24 +0000 (UTC) Received: from atoth.sote.hu (atoth.sote.hu [195.111.75.211]) by pigeon.gentoo.org (Postfix) with ESMTP id 0488BE07FC for ; Thu, 26 Jan 2012 01:15:35 +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 q0Q1FWJY007894 for ; Thu, 26 Jan 2012 02:15:32 +0100 X-DKIM: Sendmail DKIM Filter v2.8.3 atoth.sote.hu q0Q1FWJY007894 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atoth.sote.hu; s=dwokfur; t=1327540534; bh=PqtxR8RZM/3Y9vqi++6YwdDHOvw9kfVcG5IvdYBZR7A=; l=1468; h=Message-ID:Date:Subject:From:To:MIME-Version:Content-Type: Content-Transfer-Encoding; b=lz6WvR0kFSNWKBHLw+qfk6Iji4eOzx8RXdZvVdPG8k4GaGvkk1ugNewDE55nhbxe7 PouInwO/5484+UuScPtUjsCiZJbiSFIpuVnR9hSSttCK5GRPDHHd/GZMnY7L8xB8kj 3NCHXQzLwYBWNjbpy5VvYesDcs0Ynjo55OVFZi3s= X-DomainKeys: Sendmail DomainKeys Filter v1.0.2 atoth.sote.hu q0Q1FWJY007894 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: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--metrics; b=RfNFpcCTY5XKj+whvi2wMOvHCBumrWpPlUrKWNh/TCfatp0bfafVgMpDaTug1w0Dn X9Xlx803Okw6ZbmD5dSF5u4bvLiTtPQ5BzBM4At6gDhkcTVW4zhNuXZ4pPtbNElLB8l mBqoaiwa8uA3oFXZVSZpMAVhNe3sC0kQzrPydwY= 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 02:15:32 +0100 Message-ID: <4cd77b827cb89a8b00b45ec0f9d0cf62.squirrel@atoth.sote.hu> Date: Thu, 26 Jan 2012 02:15:32 +0100 Subject: [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--Metrics: atoth 0; Body=1 Fuz1=1 Fuz2=1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f378a9b2-a22b-43d7-99ea-9feceaeb09ed X-Archives-Hash: c903393ffe53980b7f5603703e08e55a 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 offlin= e. 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=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 still talks about net. Is there a document on how to set up bonding with the ne= w network config syntax? Ridiculous: Dwokfur --=20 dr T=C3=B3th Attila, Radiol=C3=B3gus, 06-20-825-8057 Attila Toth MD, Radiologist, +36-20-825-8057