On Wed, 27 Feb 2008 13:29:15 +0100, Fabian Groffen <[EMAIL PROTECTED]> wrote: > Well... that's great! But a jail or a (ch)root is in general not the > same as a "prefix".
No, but it's the same kettle of fish as chroots, jails and vps systems - basically there is a need to disable dependencies that provide what the host already does. We current have nojail for FreeBSD jails, novps for VServer/OpenVZ systems and a few others. I would be trivial to add another no for prefix :) > I have to look more closely at what openrc does > these days, but for the (ancient) version of baselayout we have in > prefix now, I recall that: > a) most of it didn't compile on Darwin and Solaris It compiles and works on Linux/glibc/uclibc, FreeBSD-6 and NetBSD-4. So it stands a fair chance of working on Darwin for sure. I have no idea about Solaris, but it should work as it sports libkvm which we use to find processes. > b) hence we only use basically the functions.sh script (hacked up) > so what we need to have working is: > ${EPREFIX}/etc/init.d/postgresql start > and similar. > > And maybe even a sort of init-level stuff, such that one can start all > services in the Prefix and stop them as well. That basically gets quite > useful once Prefix goes "privileged" and you could start sshd, slapd, > apache2, etc, etc. on privileged ports, and you really would like those > to be started as well in some correct order (on e.g. Solaris). If OpenRC compiles and /bin/sh points to a POSIX shell it should work as it stands. At present there is no need for the default interpreter to be changed, but there may be the need for Prefix. Thanks Roy -- gentoo-dev@lists.gentoo.org mailing list