On Mon, Jun 08, 2009 at 07:42:17PM -0400, Mike Frysinger wrote: > > One of the reasons to move stuff OUT of /lib are all the profiles where > > SYMLINK_LIB is disabled AND LIBDIR_${arch} != "lib". On non-multilib > > systems (so there is no lib23/64) or multilib systems where /lib is the > > correct location, then any test against /lib/rc/version would be fine. > > On anything else, it's not. > > > > Having it in a different location from upstream (OpenRC), means that any > > other distributions using OpenRC's /libexec/rc/version location would > > need to patch all their init.d scripts. > the proposed /sbin/functions.sh check would makes this issue moot And why the hell didn't you come forward on bug 270646 with this?
I'm concerned that absence tests like that will not be as useful as OpenRC spreads. Sure in Gentoo, baselayout1 provides /sbin/functions.sh, but other users won't. Since /libexec and /lib are out for the discussed reasons, this leaves us coming back to /etc/openrc-version, with the same file in CONFIG_PROTECT_MASK. -- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
pgpoSvl60ZgYe.pgp
Description: PGP signature