Gentoo Archives: gentoo-user

From: Alec Ten Harmsel <alec@××××××××××××××.com>
To: gentoo-user@l.g.o
Cc: "Canek Peláez Valdés" <caneko@×××××.com>
Subject: Re: [gentoo-user] Removing openrc after installing systemd
Date: Fri, 26 Dec 2014 17:56:22
Message-Id: 549DA140.9030606@alectenharmsel.com
In Reply to: Re: [gentoo-user] Removing openrc after installing systemd by "Canek Peláez Valdés"
1 On 12/26/2014 11:38 AM, Canek Peláez Valdés wrote:
2 > On Fri, Dec 26, 2014 at 9:10 AM, Alec Ten Harmsel
3 > <alec@××××××××××××××.com <mailto:alec@××××××××××××××.com>> wrote:
4 > >
5 > > Just curious; is this even possible? `emerge --depclean --ask --verbose
6 > > sys-apps/openrc` gives:
7 > >
8 > > Calculating dependencies... done!
9 > > sys-apps/openrc-0.12.4 pulled in by:
10 > > @system requires sys-apps/openrc
11 > > net-misc/netifrc-0.2.2 requires >=sys-apps/openrc-0.12
12 > > virtual/service-manager-0 requires sys-apps/openrc
13 > >
14 > > wat? netifrc is a bunch of udev/networking stuff; I use wicd, is this
15 > > even necessary? FYI, `emerge --depclean --ask --verbose netifrc` gives:
16 > >
17 > > Calculating dependencies... done!
18 > > net-misc/netifrc-0.2.2 pulled in by:
19 > > sys-apps/openrc-0.12.4 requires net-misc/netifrc
20 > >
21 > > I'd rather not have both installed, although it doesn't really matter
22 > > that much. It makes sense that @system requires virtual/service-manager,
23 > > but why on earth does systemd not provide that virtual? I just checked
24 > > the ebuild and eclass to make sure.
25 >
26 > Mmmh. No ebuild in the tree "provides" any virtual. A virtual
27 > *specifies* which packages can satisfy it:
28 >
29 > RDEPEND="
30 > prefix? ( >=sys-apps/baselayout-prefix-2.2 )
31 > !prefix? (
32 > || (
33 > sys-apps/openrc
34 > kernel_linux? ( || (
35 > sys-apps/systemd
36 > sys-process/runit
37 > virtual/daemontools
38 > ) ) ) )"
39
40 *facepalm*... I didn't look at this. embarrassing.
41
42 >
43 >
44 > This is from virtual/service-manager/service-manager-0.ebuild. As you
45 > can see, with kernel_linux, systemd satisfies the virtual.
46 >
47 > OpenRC is being pulled in by something else, I believe netifrc. Check
48 > what is pulling netifrc, which in turn pulls in OpenRC. I think you
49 > should be able to get rid of it.
50
51 OpenRC is pulled in by @system - even `emerge -ca openrc netifrc` won't
52 proceed because OpenRC is in @system. As for kernel_linux, is this
53 something that can go in make.conf (i.e. KERNEL="linux")?
54
55 >
56 > It's totally possible to uninstall OpenRC; I haven't had it installed
57 > in years. Nowadays you don't even need to do any tricks to do it.
58
59 I got rid of it (emerge --unmerge, hehe). Some red text warning me of
60 removing system software, but whatever. Subsequent world updates and
61 depcleans show no changes except getting rid of sysvinit.
62
63 Thanks Canek.
64
65 Alec

Replies

Subject Author
Re: [gentoo-user] Removing openrc after installing systemd Michael Orlitzky <mjo@g.o>
Re: [gentoo-user] Removing openrc after installing systemd "Canek Peláez Valdés" <caneko@×××××.com>