Gentoo Archives: gentoo-dev

From: "Jason A. Donenfeld" <Jason@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Global Systemd USE Flag
Date: Wed, 08 Aug 2012 13:12:51
Message-Id: CAHmME9qUscF5U8tz1U-ff-Gx8Gb_8=UaUAJ4SAfOiNCuP_Z4=A@mail.gmail.com
1 Hi,
2
3 Sorry if this has been discussed to death, but I couldn't find any
4 definitive decisions on it, so I thought I'd mention things in a
5 fairly simple manner:
6
7 Step 1: I use OpenRC/sysvinit.
8
9 Dell ~ # readlink -f /proc/1/exe
10 /sbin/init
11 Dell ~ # equery b /sbin/init
12 * Searching for /sbin/init ...
13 sys-apps/sysvinit-2.88-r3 (/sbin/init)
14
15
16 Step 2: There are lots of systemd service files installed.
17
18 Dell ~ # ls /usr/lib/systemd/system/*.service|wc -l
19 21
20
21
22 Step 3: What on earth is installing them?
23
24 Dell ~ # equery b /usr/lib/systemd/system/*.service
25 media-libs/libcanberra-0.29
26 (/usr/lib/systemd/system/canberra-system-shutdown-reboot.service)
27 media-libs/libcanberra-0.29
28 (/usr/lib/systemd/system/canberra-system-bootup.service)
29 media-libs/libcanberra-0.29
30 (/usr/lib/systemd/system/canberra-system-shutdown.service)
31 media-sound/alsa-utils-1.0.25-r2 (/usr/lib/systemd/system/alsa-restore.service)
32 media-sound/alsa-utils-1.0.25-r2 (/usr/lib/systemd/system/alsa-store.service)
33 net-misc/dhcpcd-5.5.6 (/usr/lib/systemd/system/dhcpcd.service)
34 net-misc/openssh-6.0_p1-r1 (/usr/lib/systemd/system/sshd@.service)
35 net-misc/openssh-6.0_p1-r1 (/usr/lib/systemd/system/sshd.service)
36 net-wireless/bluez-4.101-r1 (/usr/lib/systemd/system/bluetooth.service)
37 net-wireless/wpa_supplicant-1.0 (/usr/lib/systemd/system/wpa_supplicant.service)
38 net-wireless/wpa_supplicant-1.0
39 (/usr/lib/systemd/system/wpa_supplicant@.service)
40 sys-apps/dbus-1.6.4 (/usr/lib/systemd/system/dbus.service)
41 sys-auth/consolekit-0.4.5_p20120320
42 (/usr/lib/systemd/system/console-kit-log-system-start.service)
43 sys-auth/consolekit-0.4.5_p20120320
44 (/usr/lib/systemd/system/console-kit-daemon.service)
45 sys-auth/consolekit-0.4.5_p20120320
46 (/usr/lib/systemd/system/console-kit-log-system-restart.service)
47 sys-auth/consolekit-0.4.5_p20120320
48 (/usr/lib/systemd/system/console-kit-log-system-stop.service)
49 sys-auth/polkit-0.107 (/usr/lib/systemd/system/polkit.service)
50 sys-fs/udev-187-r1 (/usr/lib/systemd/system/systemd-udev-trigger.service)
51 sys-fs/udev-187-r1 (/usr/lib/systemd/system/systemd-udev-settle.service)
52 sys-fs/udev-187-r1 (/usr/lib/systemd/system/systemd-udevd.service)
53 sys-power/upower-0.9.17-r1 (/usr/lib/systemd/system/upower.service)
54
55
56 Yowza! All the packages that provide systemd unit files are installing
57 them?! But I don't even use systemd. I don't want this cruft on my
58 system.
59
60 Proposal: global USE flag for systemd, just like there's one for openrc.
61
62
63 Thanks,
64 Jason

Replies

Subject Author
Re: [gentoo-dev] Global Systemd USE Flag "Michał Górny" <mgorny@g.o>