Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: Roy Marples <roy@×××××××.name>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646)
Date: Mon, 08 Jun 2009 11:27:06
Message-Id: 200906080727.03420.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] Detecting Baselayout2/OpenRC from init.d scripts (summary of debate and plans from bug 270646) by Roy Marples
1 On Monday 08 June 2009 07:03:37 Roy Marples wrote:
2 > Mike Frysinger wrote:
3 > > On Monday 08 June 2009 06:35:37 Roy Marples wrote:
4 > >> Mike Frysinger wrote:
5 > >>> On Monday 08 June 2009 06:12:04 Roy Marples wrote:
6 > >>>> Mike Frysinger wrote:
7 > >>>>> On Sunday 07 June 2009 15:59:50 Robin H. Johnson wrote:
8 > >>>>>> 1. OpenRC will provide /libexec/rc/version, a text file containing
9 > >>>>>> the version (possible including a git ID) of the release.
10 > >>>>>
11 > >>>>> that requires us to actually utilize /libexec/ which is not a Linux
12 > >>>>> convention on any system ive ever seen.
13 > >>>>
14 > >>>> OpenRC works on systems other than Linux and uses the best hierarchy
15 > >>>> it can to match them all.
16 > >>>
17 > >>> i know why you use it, but that doesnt mean Gentoo (Linux) should
18 > >>
19 > >> rhetorical:
20 > >> Should Gentoo (FreeBSD)?
21 > >
22 > > that's for the Gentoo/BSD team to decide
23 >
24 > So you're now advocating the check being
25 >
26 > [ -f /etc/openrc-version -o -f /libexec/rc/version ]
27
28 the openrc ebuild will always provide a file in /etc regardless of libexec
29 path
30
31 > Way to go.
32
33 try not to douche up the thread
34
35 > >> Also, should Gentoo (Linux) never break with tradition even if
36 > >> somethings are better elsewhere?
37 > >
38 > > no, there is no "innovation" here nor any incentive to do so. i also
39 > > personally dont believe in /usr/libexec/, so i'm not going to randomly be
40 > > convinced by /libexec/ in the meantime.
41 >
42 > The "innovation" here being shell scripts and text files are not 32/64
43 > bit dependent and thus don't belong in a directory clearly marked as such.
44
45 ABI is really not the driving force behind libexec vs lib, nor does it really
46 matter here. openrc isnt a multilib package nor does it need to be.
47
48 > >> Note, I'm not pushing for Gentoo to use /libexec at all, but you'll have
49 > >> to move the version file in the ebuild as it just won't work when you
50 > >> pass LIBEXECDIR=/lib/rc to the make targets.
51 > >
52 > > if the make system doesnt have a way of controlling the root libexecdir
53 > > path, sounds like the make system is limited and/or broken and in need of
54 > > fixing
55 >
56 > Eh? I just told you it does. To keep the status quo with /libexec/rc vs
57 > /lib/rc I provide a make knob. Now you want to move 1 specific file out
58 > of /lib/rc (because it could be in /lib64 or /lib32 and not in /lib) and
59 > into /etc because of the /lib brokenness.
60
61 the original discussion made it sound like /etc/openrc-version always existed
62 independent of libexec
63 -mike

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies