Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Removing openrc after installing systemd
Date: Fri, 26 Dec 2014 16:39:03
Message-Id: CADPrc80WaNWJtww2S12V=7UQeAx1FaAwH5fzMLjHL+Ztic-=0w@mail.gmail.com
In Reply to: [gentoo-user] Removing openrc after installing systemd by Alec Ten Harmsel
1 On Fri, Dec 26, 2014 at 9:10 AM, Alec Ten Harmsel <alec@××××××××××××××.com>
2 wrote:
3 >
4 > Just curious; is this even possible? `emerge --depclean --ask --verbose
5 > sys-apps/openrc` gives:
6 >
7 > Calculating dependencies... done!
8 > sys-apps/openrc-0.12.4 pulled in by:
9 > @system requires sys-apps/openrc
10 > net-misc/netifrc-0.2.2 requires >=sys-apps/openrc-0.12
11 > virtual/service-manager-0 requires sys-apps/openrc
12 >
13 > wat? netifrc is a bunch of udev/networking stuff; I use wicd, is this
14 > even necessary? FYI, `emerge --depclean --ask --verbose netifrc` gives:
15 >
16 > Calculating dependencies... done!
17 > net-misc/netifrc-0.2.2 pulled in by:
18 > sys-apps/openrc-0.12.4 requires net-misc/netifrc
19 >
20 > I'd rather not have both installed, although it doesn't really matter
21 > that much. It makes sense that @system requires virtual/service-manager,
22 > but why on earth does systemd not provide that virtual? I just checked
23 > the ebuild and eclass to make sure.
24
25 Mmmh. No ebuild in the tree "provides" any virtual. A virtual *specifies*
26 which packages can satisfy it:
27
28 RDEPEND="
29 prefix? ( >=sys-apps/baselayout-prefix-2.2 )
30 !prefix? (
31 || (
32 sys-apps/openrc
33 kernel_linux? ( || (
34 sys-apps/systemd
35 sys-process/runit
36 virtual/daemontools
37 ) ) ) )"
38
39
40 This is from virtual/service-manager/service-manager-0.ebuild. As you can
41 see, with kernel_linux, systemd satisfies the virtual.
42
43 OpenRC is being pulled in by something else, I believe netifrc. Check what
44 is pulling netifrc, which in turn pulls in OpenRC. I think you should be
45 able to get rid of it.
46
47 It's totally possible to uninstall OpenRC; I haven't had it installed in
48 years. Nowadays you don't even need to do any tricks to do it.
49
50 (I have sys-fs/udev-init-scripts in package.provided, but only because it's
51 completely useless to me: those are the udev scripts for OpenRC when
52 sys-apps/systemd is installed instead of sys-fs/udev).
53
54 Regards.
55 --
56 Canek Peláez Valdés
57 Profesor de asignatura, Facultad de Ciencias
58 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] Removing openrc after installing systemd Alec Ten Harmsel <alec@××××××××××××××.com>