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: Thu, 21 Apr 2011 20:04:33
Message-Id: 1303416222.4481.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 14:30 -0500, William Hubbs escribió:
2 > On Wed, Apr 20, 2011 at 08:20:32PM +0200, Pacho Ramos wrote:
3 > > El mié, 20-04-2011 a las 22:02 +0400, Peter Volkov escribió:
4 > > > В Срд, 20/04/2011 в 12:24 -0500, William Hubbs пишет:
5 > > > > The author of the bug feels that the way to fix this is for us to put a
6 > > > > check in openrc that makes it refuse to run services if it was not used
7 > > > > in the boot process.
8 > > >
9 > > > This is good idea to have in any case since I remember my system went
10 > > > crazy after I've tried to start some service inside chroot.
11 > > >
12 > > > > This may work; however, I do not feel that it addresses the root cause
13 > > > > of the bug. I feel that the root cause is packages unconditionally
14 > > > > installing udev rules which assume everyone uses openrc.
15 > > >
16 > > > I'd voted to have both implemented.
17 > > >
18 > >
19 > > I would vote for the first one, I still don't like "openrc" USE flag
20 > > approach much because:
21 > > 1. Would need to rebuild some packages when switching between init
22 > > systems.
23 >
24 > I don't think you can get away from this, no matter how you approach
25 > it. The other approach I thought of is to include the udev pieces
26 > directly in openrc and make it possible to build openrc with or without
27 > udev integration. That will still mean you have to rebuild openrc though
28 > if you want udev support.
29 >
30
31 With mgorny's approach looks like recompiling wouldn't be needed :-/
32
33
34 > > 2. I remember (from "logrotate" USE flag case) that using an USE flag
35 > > for simply installing or not a file is not usually preferred :-/
36 >
37 > In the logrotate use flag case, that decision was made because a user
38 > can use INSTALL_MASK="/etc/logrotate.d" in make.conf to block those
39 > files. But that argument definitely does not apply here. If the user
40 > doesn't want this support what should he set INSTALL_MASK to?
41 >
42
43 That's true, thanks for the explanation :)
44
45 > William
46 >

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] rfc: openrc use flag William Hubbs <williamh@g.o>