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