Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: 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 23:42:22
Message-Id: 200906081942.17902.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 "Robin H. Johnson"
1 On Monday 08 June 2009 19:23:01 Robin H. Johnson wrote:
2 > On Mon, Jun 08, 2009 at 07:27:02AM -0400, Mike Frysinger wrote:
3 > > > >> Also, should Gentoo (Linux) never break with tradition even if
4 > > > >> somethings are better elsewhere?
5 > > > >
6 > > > > no, there is no "innovation" here nor any incentive to do so. i also
7 > > > > personally dont believe in /usr/libexec/, so i'm not going to
8 > > > > randomly be convinced by /libexec/ in the meantime.
9 > > >
10 > > > The "innovation" here being shell scripts and text files are not 32/64
11 > > > bit dependent and thus don't belong in a directory clearly marked as
12 > > > such.
13 > >
14 > > ABI is really not the driving force behind libexec vs lib, nor does it
15 > > really matter here. openrc isnt a multilib package nor does it need to
16 > > be.
17 >
18 > Even while it isn't a multilib package, there's precedent to move stuff
19 > out of /lib (/usr/lib etc).
20
21 not really. the precedent is to move from / to /usr. we havent really cared
22 about anything else (ignoring correctness of moving state files to /var).
23
24 > One of the reasons to move stuff OUT of /lib are all the profiles where
25 > SYMLINK_LIB is disabled AND LIBDIR_${arch} != "lib". On non-multilib
26 > systems (so there is no lib23/64) or multilib systems where /lib is the
27 > correct location, then any test against /lib/rc/version would be fine.
28 > On anything else, it's not.
29 >
30 > Having it in a different location from upstream (OpenRC), means that any
31 > other distributions using OpenRC's /libexec/rc/version location would
32 > need to patch all their init.d scripts.
33
34 the proposed /sbin/functions.sh check would makes this issue moot
35
36 > vapier: I take it by this entire discussion that you aren't going take
37 > the rest of OpenRC's move of scripts to /libexec either?
38
39 ive already added that change to the openrc-9999 to keep things in /lib/rc/
40 -mike

Attachments

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

Replies