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 1JUTS5-0001X2-VW for garchives@archives.gentoo.org; Wed, 27 Feb 2008 21:04:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64068E0439; Wed, 27 Feb 2008 21:04:32 +0000 (UTC) Received: from mail.marples.name (rsm.demon.co.uk [80.177.111.50]) by pigeon.gentoo.org (Postfix) with ESMTP id 2EE14E0439 for ; Wed, 27 Feb 2008 21:04:32 +0000 (UTC) Received: from uberpc.marples.name (uberpc.marples.name [10.73.1.30]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.marples.name (Postfix) with ESMTP id 60708190087 for ; Wed, 27 Feb 2008 21:04:31 +0000 (GMT) From: Roy Marples To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Google SOC 2008 Date: Wed, 27 Feb 2008 21:04:30 +0000 User-Agent: KMail/1.9.7 References: <20080227122915.GA315@gentoo.org> <8c8b2d51d5872e1458122e90ff615a36@marples.name> <20080227142158.GB315@gentoo.org> In-Reply-To: <20080227142158.GB315@gentoo.org> 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802272104.30789.roy@marples.name> X-Archives-Salt: b3c0996e-4590-40f7-8a61-9ba149341313 X-Archives-Hash: ea360e9f2afc0fbceae90ec28013999a On Wednesday 27 February 2008 14:21:58 Fabian Groffen wrote: > On 27-02-2008 13:56:51 +0000, Roy Marples wrote: > > 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 > > already does. > > Ok, the host will for instance do "net", so "need net" should indeed not > fail. However I could imagine that "need net" would just get satisfied > or something, like by a dummy. Correct. lu_zero wanted OpenRC to work out of the box in a vanilla fbsd jail, hence the keyword instead of dummy scripts. > > If OpenRC compiles and /bin/sh points to a POSIX shell it should work as > > it stands. > > Ok, then we already fail here. > /bin/sh is no way POSIX, it is just bourne, so that's where we come in > and simply use /usr/bin/env {sh,bash,posix-sh} or a full path to make > your assumption true. make SH=/usr/local/bin/bash now tweaks all the scripts accordingly. Thanks Roy -- gentoo-dev@lists.gentoo.org mailing list