Gentoo Archives: gentoo-dev

From: Pacho Ramos <pacho@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: openrc use flag
Date: Fri, 22 Apr 2011 09:50:59
Message-Id: 1303465813.10666.6.camel@localhost.localdomain
In Reply to: Re: [gentoo-dev] rfc: openrc use flag by William Hubbs
1 El jue, 21-04-2011 a las 15:52 -0500, William Hubbs escribió:
2 > On Thu, Apr 21, 2011 at 10:03:42PM +0200, Pacho Ramos wrote:
3 > > El jue, 21-04-2011 a las 14:30 -0500, William Hubbs escribió:
4 > > > On Wed, Apr 20, 2011 at 08:20:32PM +0200, Pacho Ramos wrote:
5 > > > > El mié, 20-04-2011 a las 22:02 +0400, Peter Volkov escribió:
6 > > > > > В Срд, 20/04/2011 в 12:24 -0500, William Hubbs пишет:
7 > > > > > > The author of the bug feels that the way to fix this is for us to put a
8 > > > > > > check in openrc that makes it refuse to run services if it was not used
9 > > > > > > in the boot process.
10 > > > > >
11 > > > > > This is good idea to have in any case since I remember my system went
12 > > > > > crazy after I've tried to start some service inside chroot.
13 > > > > >
14 > > > > > > This may work; however, I do not feel that it addresses the root cause
15 > > > > > > of the bug. I feel that the root cause is packages unconditionally
16 > > > > > > installing udev rules which assume everyone uses openrc.
17 > > > > >
18 > > > > > I'd voted to have both implemented.
19 > > > > >
20 > > > >
21 > > > > I would vote for the first one, I still don't like "openrc" USE flag
22 > > > > approach much because:
23 > > > > 1. Would need to rebuild some packages when switching between init
24 > > > > systems.
25 > > >
26 > > > I don't think you can get away from this, no matter how you approach
27 > > > it. The other approach I thought of is to include the udev pieces
28 > > > directly in openrc and make it possible to build openrc with or without
29 > > > udev integration. That will still mean you have to rebuild openrc though
30 > > > if you want udev support.
31 > > >
32 > >
33 > > With mgorny's approach looks like recompiling wouldn't be needed :-/
34 >
35 > His approach doesn't stop udev from attempting to run the services; it
36 > just makes openrc print an error message and abort each service we try
37 > to run.
38 >
39 > With the integration into udev that we have right now, some of our udev
40 > rules expect openrc to be usable.
41 >
42 > William
43 >
44
45 Didn't know that, thanks again

Attachments

File name MIME type
signature.asc application/pgp-signature