From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JUMmF-0001dd-AM for garchives@archives.gentoo.org; Wed, 27 Feb 2008 13:56:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3DE16E03B2; Wed, 27 Feb 2008 13:56:53 +0000 (UTC) Received: from mail.marples.name (rsm.demon.co.uk [80.177.111.50]) by pigeon.gentoo.org (Postfix) with ESMTP id 08311E03B2 for ; Wed, 27 Feb 2008 13:56:53 +0000 (UTC) Received: by mail.marples.name (Postfix, from userid 102) id 5C447190103; Wed, 27 Feb 2008 13:56:51 +0000 (GMT) To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Google SOC 2008 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Date: Wed, 27 Feb 2008 13:56:51 +0000 From: Roy Marples In-Reply-To: <20080227122915.GA315@gentoo.org> References: <20080227122915.GA315@gentoo.org> Message-ID: <8c8b2d51d5872e1458122e90ff615a36@marples.name> X-Sender: roy@marples.name User-Agent: RoundCube Webmail/0.1-rc1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f9b0fc8a-48dd-402b-a38d-7640227b3f0a X-Archives-Hash: f0a8d06e452840f384ee55bb6564e3b6 On Wed, 27 Feb 2008 13:29:15 +0100, Fabian Groffen 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 alread= y does. We current have nojail for FreeBSD jails, novps for VServer/OpenVZ system= s 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 whic= h 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. >=20 > 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 quit= e > 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, bu= t there may be the need for Prefix. Thanks Roy --=20 gentoo-dev@lists.gentoo.org mailing list