1 |
On Sat, Feb 10, 2018 at 7:16 PM, allan gottlieb <gottlieb@×××.edu> wrote: |
2 |
> I have a question on this news item. |
3 |
> |
4 |
> I use systemd (gnome3) on a gentoo stable system. |
5 |
> eix reports that sys-apps/systemd-236-r5 is installed |
6 |
> |
7 |
> But |
8 |
> euse -I sysv-utils |
9 |
> reports |
10 |
> no matching entries found |
11 |
> |
12 |
> Is something wrong? |
13 |
> |
14 |
> I do *not* have |
15 |
> sys-apps/sysvinit, sys-apps/openrc, or net-misc/netifrc |
16 |
> in my world file. |
17 |
> |
18 |
> However, the last two are installed. |
19 |
> |
20 |
|
21 |
Interesting. Does /sbin/reboot exist? What does "qfile /sbin/reboot" return? |
22 |
|
23 |
The only thing that is changing is a default - that flag was defaulted |
24 |
off before, and is defaulted on now. So, an emerge --changed-use -u |
25 |
world should reinstall systemd with this flag enabled, assuming you |
26 |
didn't manually disable it. |
27 |
|
28 |
In any case, you can probably actually survive without poweroff, |
29 |
reboot, etc, assuming you shutdown using systemctl. Obviously some |
30 |
legacy scripts/programs/etc that are supposed to shut down your system |
31 |
might balk at the missing symlinks. All the use flag does is install |
32 |
compatibility symlinks to systemctl for these sysvinit programs and |
33 |
their manpages. |
34 |
|
35 |
Unless you have some package installed that explicitly depends on |
36 |
sysvinit or openrc you should be fine. Do you actually get any |
37 |
blockers/etc? |
38 |
|
39 |
Ultimately it comes down to whether you care about the compatibility |
40 |
symlinks. It probably isn't a bad idea to have them though. Maybe |
41 |
some day you'll install a UPS and its shutdown scripts will just call |
42 |
shutdown/poweroff/etc and not work. Software that shuts down using |
43 |
either systemctl or dbus would be fine. |
44 |
|
45 |
-- |
46 |
Rich |