public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Fabian Groffen <grobian@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Google SOC 2008
Date: Wed, 27 Feb 2008 13:29:15 +0100	[thread overview]
Message-ID: <20080227122915.GA315@gentoo.org> (raw)
In-Reply-To: <ed9aed1b347dbe410999589eb9fdacd7@marples.name>

On 27-02-2008 10:46:43 +0000, Roy Marples wrote:
> 
> On Wed, 27 Feb 2008 09:42:05 +0100, Fabian Groffen <grobian@gentoo.org>
> wrote:
> > - baselayout porting to Prefix (mostly the start stop mechanisms)
> 
> What start stop mechanics do you mean?
> 
> OpenRC already has full FreeBSD jail support in services like do
> depend() { keyword nojail; }
> 
> That effectively disables the automatic running of services by rc itself,
> such as fsck, mounting and stuff as that's taken care of by the host OS.
> Running in Prefix is pretty much the same as a jail from OpenRC's
> perspective
> (correct me if I'm wrong) so all we would have to do is tell OpenRC that
> it's
> currently in a jail. Presently this is done only for FreeBSD by testing
> sysctl values. Maybe we could turn this into a compile option for Prefix.
> 
> Also, we now support services in directories other than /etc/init.d,
> although
> this is currently hard coded to /usr/local/etc/init.d.

Well... that's great!  But a jail or a (ch)root is in general not the
same as a "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
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).


-- 
Fabian Groffen
Gentoo on a different level
-- 
gentoo-dev@lists.gentoo.org mailing list



  reply	other threads:[~2008-02-27 12:29 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-26 18:32 [gentoo-dev] Google SOC 2008 joshua jackson
2008-02-26 23:13 ` Rémi Cardona
2008-02-26 23:28   ` joshua jackson
2008-02-27  2:57     ` Alec Warner
2008-02-27 10:46     ` [gentoo-dev] " Duncan
2008-02-27  8:42 ` [gentoo-dev] " Fabian Groffen
2008-02-27 10:46   ` Roy Marples
2008-02-27 12:29     ` Fabian Groffen [this message]
2008-02-27 13:56       ` Roy Marples
2008-02-27 14:21         ` Fabian Groffen
2008-02-27 21:04           ` Roy Marples
2008-02-28 11:22           ` Roy Marples
2008-02-28 11:25             ` Fabian Groffen
2008-03-03 13:36             ` Roy Marples
2008-03-03 14:53               ` Fabian Groffen
2008-03-03 15:50                 ` Michael Haubenwallner
2008-03-03 16:04                   ` Roy Marples
2008-03-03 15:58                 ` Roy Marples
2008-02-27 19:11         ` [gentoo-dev] MESA i965 SUPPORT PLEASE! Mateusz Mierzwinski
2008-02-27 19:47           ` Chris Gianelloni
2008-02-27 19:49           ` Chris Gianelloni
2008-02-28  7:37             ` Mateusz Mierzwinski
2008-02-28  9:58               ` Rémi Cardona
2008-02-27 10:50   ` [gentoo-dev] Google SOC 2008 Damian Florczyk
2008-02-28 16:02 ` Marius Mauch
2008-02-29 13:08 ` JoseAlberto
2008-02-29 17:24   ` Alec Warner
2008-03-02 15:58 ` Luca Barbato

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080227122915.GA315@gentoo.org \
    --to=grobian@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox