Gentoo Archives: gentoo-dev

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

Replies