From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LPHPm-0003u0-QL for garchives@archives.gentoo.org; Tue, 20 Jan 2009 14:17:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07F78E0387; Tue, 20 Jan 2009 14:17:12 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by pigeon.gentoo.org (Postfix) with ESMTP id D1A6EE0387 for ; Tue, 20 Jan 2009 14:17:11 +0000 (UTC) Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 212291C01F5C; Tue, 20 Jan 2009 15:17:11 +0100 (CET) Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id 19C0E9017D; Tue, 20 Jan 2009 15:17:11 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id YjRvo8AJ4OeG; Tue, 20 Jan 2009 15:17:04 +0100 (CET) Received: from gauss.x.fun (ppp-88-217-104-46.dynamic.mnet-online.de [88.217.104.46]) by mail.nefkom.net (Postfix) with ESMTP; Tue, 20 Jan 2009 15:17:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by gauss.x.fun (Postfix) with ESMTP id 6639D41E8; Tue, 20 Jan 2009 15:17:04 +0100 (CET) From: Matthias Schwarzott To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Detecting Baselayout2/openrc - no-symlink profiles leading to breakage Date: Tue, 20 Jan 2009 15:17:01 +0100 User-Agent: KMail/1.9.10 Cc: "Robin H. Johnson" References: <20090117230733.GV7944@curie-int.orbis-terrarum.net> In-Reply-To: <20090117230733.GV7944@curie-int.orbis-terrarum.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901201517.02437.zzam@gentoo.org> X-Archives-Salt: 939e0fdd-c379-4283-b97f-2d8ff9397085 X-Archives-Hash: 540bc846d510c55693a94ef5aaa41ed1 On Sonntag, 18. Januar 2009, Robin H. Johnson wrote: > I'm raising this as an extension of bug 253076, but also because I see > the potential for danger. > > To date, for an init script that has baselayout2-specific behavior, we > have had some variant of [ -e /lib/librc.so ] in the init script. > > On a multilib profile with no symlinks and a 64-bit userspace, the .so > file would be installed in /lib64/librc.so, and the check would > mistakenly have the wrong result. > > There's one fix that has started to turn up already, but I'm not sure if > it's going to be safe always: [ -f /etc/init.d/sysfs ] > This happens to work as openrc installs that init script. > I changed udev to only check for /etc/init.d/sysfs. See Bug #252493. The only place where librc checking is kept is only run on older openrc-versions which are no longer available via ebuild. I hope this will make udev work on any system regardless of how /lib and stuff is linked. (For further analysis perhaps someone on a multilib profile can check where udev still has /lib/xxx hardcoded instead of /lib64/xxx or similar). Should I nevertheless add such a blocker to udev or will that make update unnecessary complicated? RDEPEND="!