public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jeroen Roovers <jer@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: openrc use flag
Date: Thu, 21 Apr 2011 04:31:46 +0200	[thread overview]
Message-ID: <20110421043146.38f2966b@epia.jer-c2.orkz.net> (raw)
In-Reply-To: <1303322561.22688.9.camel@tablet>

On Wed, 20 Apr 2011 22:02:41 +0400
Peter Volkov <pva@gentoo.org> wrote:

> В Срд, 20/04/2011 в 12:24 -0500, William Hubbs пишет:
> > The author of the bug feels that the way to fix this is for us to
> > put a check in openrc that makes it refuse to run services if it
> > was not used in the boot process.

Why refuse? It could instead assume it needed to only start a service
in, say, a chroot, like ssh or apache2, without assuming anything else
needs to be done. If the service needed anything else, it could be
left to fail on its own terms.

> This is good idea to have in any case since I remember my system went
> crazy after I've tried to start some service inside chroot.

Basically, baselayout/openrc (baselayout-1 has the same problem) would
(try to) shut down your system because it thought something was
terribly wrong. That's bitten me as well when I still thought I could
test services inside a chroot.

> > This may work; however, I do not feel that it addresses the root
> > cause of the bug. I feel that the root cause is packages
> > unconditionally installing udev rules which assume everyone uses
> > openrc.

How should the udev rules be changed to match /any/ init system?


     jer



  parent reply	other threads:[~2011-04-21  2:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-20 17:24 [gentoo-dev] rfc: openrc use flag William Hubbs
2011-04-20 18:02 ` Peter Volkov
2011-04-20 18:20   ` Pacho Ramos
2011-04-21 19:30     ` William Hubbs
2011-04-21 20:03       ` Pacho Ramos
2011-04-21 20:52         ` William Hubbs
2011-04-22  9:50           ` Pacho Ramos
2011-04-22  8:26       ` Peter Volkov
2011-04-22  8:58         ` Michał Górny
2011-04-20 18:22   ` William Hubbs
2011-04-20 18:33     ` Michał Górny
2011-04-21  4:52       ` [gentoo-dev] " Duncan
2011-04-20 18:44     ` [gentoo-dev] " Fabian Groffen
2011-04-21  2:31   ` Jeroen Roovers [this message]
2011-04-21  4:34     ` William Hubbs
2011-04-21 19:05       ` William Hubbs

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=20110421043146.38f2966b@epia.jer-c2.orkz.net \
    --to=jer@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