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 1MDd0M-0005Lt-2s for garchives@archives.gentoo.org; Mon, 08 Jun 2009 11:27:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24FDDE0379; Mon, 8 Jun 2009 11:27:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DCF4DE0379 for ; Mon, 8 Jun 2009 11:27:04 +0000 (UTC) Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 64CBB643A0; Mon, 8 Jun 2009 11:27:04 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: Roy Marples Subject: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646) Date: Mon, 8 Jun 2009 07:27:02 -0400 User-Agent: KMail/1.11.3 (Linux/2.6.29.4; KDE/4.2.3; x86_64; ; ) Cc: gentoo-dev@lists.gentoo.org References: <20090607195950.GI22927@orbis-terrarum.net> <200906080638.23422.vapier@gentoo.org> <4A2CF009.4030409@marples.name> In-Reply-To: <4A2CF009.4030409@marples.name> 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: multipart/signed; boundary="nextPart1728615.7hNHKWXBrV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200906080727.03420.vapier@gentoo.org> X-Archives-Salt: d13d091a-bdae-4ae4-ac57-1f2e99c72727 X-Archives-Hash: c2a5562aee392d6c804fccf1b4d88123 --nextPart1728615.7hNHKWXBrV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 08 June 2009 07:03:37 Roy Marples wrote: > Mike Frysinger wrote: > > On Monday 08 June 2009 06:35:37 Roy Marples wrote: > >> Mike Frysinger wrote: > >>> On Monday 08 June 2009 06:12:04 Roy Marples wrote: > >>>> Mike Frysinger wrote: > >>>>> On Sunday 07 June 2009 15:59:50 Robin H. Johnson wrote: > >>>>>> 1. OpenRC will provide /libexec/rc/version, a text file containing > >>>>>> the version (possible including a git ID) of the release. > >>>>> > >>>>> that requires us to actually utilize /libexec/ which is not a Linux > >>>>> convention on any system ive ever seen. > >>>> > >>>> OpenRC works on systems other than Linux and uses the best hierarchy > >>>> it can to match them all. > >>> > >>> i know why you use it, but that doesnt mean Gentoo (Linux) should > >> > >> rhetorical: > >> Should Gentoo (FreeBSD)? > > > > that's for the Gentoo/BSD team to decide > > So you're now advocating the check being > > [ -f /etc/openrc-version -o -f /libexec/rc/version ] the openrc ebuild will always provide a file in /etc regardless of libexec= =20 path > Way to go. try not to douche up the thread > >> Also, should Gentoo (Linux) never break with tradition even if > >> somethings are better elsewhere? > > > > no, there is no "innovation" here nor any incentive to do so. i also > > personally dont believe in /usr/libexec/, so i'm not going to randomly = be > > convinced by /libexec/ in the meantime. > > The "innovation" here being shell scripts and text files are not 32/64 > bit dependent and thus don't belong in a directory clearly marked as such. ABI is really not the driving force behind libexec vs lib, nor does it real= ly=20 matter here. openrc isnt a multilib package nor does it need to be. > >> Note, I'm not pushing for Gentoo to use /libexec at all, but you'll ha= ve > >> to move the version file in the ebuild as it just won't work when you > >> pass LIBEXECDIR=3D/lib/rc to the make targets. > > > > if the make system doesnt have a way of controlling the root libexecdir > > path, sounds like the make system is limited and/or broken and in need = of > > fixing > > Eh? I just told you it does. To keep the status quo with /libexec/rc vs > /lib/rc I provide a make knob. Now you want to move 1 specific file out > of /lib/rc (because it could be in /lib64 or /lib32 and not in /lib) and > into /etc because of the /lib brokenness. the original discussion made it sound like /etc/openrc-version always exist= ed=20 independent of libexec =2Dmike --nextPart1728615.7hNHKWXBrV Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iQIcBAABAgAGBQJKLPWHAAoJEEFjO5/oN/WB1P4QAMVaJ3IL++L6WSvP+6S/rPP+ Uf4BIvn+5bm7cpLXhEY1AEN6+DXXpKOq5tbHprnbr2QRswoRHwAcMbBFYqudhfuP S3zr/+4bUwiIiRN1VwworyEuIC1/soHYfXZ6h7S08tP48n1Qafe0A9NCexV2cpde VlmKncoUMgsktGrqLLf2vT3bqj+kk00qI8WkmTMQ54PJ21P3UR3Vj5g9nvpG/PMw jRy4urAkTXPqWz8V0kis3LhLu76SXkf5kHKi7iRROCkVfb4rH1Gd9oBn+MpuvmYj UyJM87uwcuKAjinOGndwxlfNtbOM7x5fgpGnlAUa0ZWhrqaN3fmNAmq5ZCaf0RC1 PVl70bLNW6JPvw2CHZdZobh51CksUtJlpe2Us3vty8rZprc/NdsuwbxpjjwHt2Me UXHFrazsDx5n5PXYLGu9UxpcmXBgbLH9MG+30+AgYAnb+8KbI+EjxNvuweP4ONHD IQ7j6WXydpR2H1cI2a1/+uFVF3G4BMG9aDPkaQMnq9AC3i54bsAU+0RjuWGWJbU7 RLCQRzy6jNSeaW7R3xsbbcXcGK+09WmNONuLlBkm/pmHFcjPwQau2dcE6bGzd9p2 JqcsieWQjfWnZUKpc/nxLKvbRwVb9jtusReSTwWbyoRCG/Ym9gu4gvnNYsmZwhs4 Ty6BUANETP1/xHO1d9ls =LF6D -----END PGP SIGNATURE----- --nextPart1728615.7hNHKWXBrV--