Gentoo Archives: gentoo-user

From: allan gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] "systemd sysv-utils blocker resolution"
Date: Sun, 11 Feb 2018 03:02:39
Message-Id: 87o9kw2pq7.fsf@nyu.edu
In Reply to: Re: [gentoo-user] "systemd sysv-utils blocker resolution" by Rich Freeman
1 On Sat, Feb 10 2018, Rich Freeman wrote:
2
3 > On Sat, Feb 10, 2018 at 7:16 PM, allan gottlieb <gottlieb@×××.edu> wrote:
4 >> I have a question on this news item.
5 >>
6 >> I use systemd (gnome3) on a gentoo stable system.
7 >> eix reports that sys-apps/systemd-236-r5 is installed
8 >>
9 >> But
10 >> euse -I sysv-utils
11 >> reports
12 >> no matching entries found
13 >>
14 >> Is something wrong?
15 >>
16 >> I do *not* have
17 >> sys-apps/sysvinit, sys-apps/openrc, or net-misc/netifrc
18 >> in my world file.
19 >>
20 >> However, the last two are installed.
21 >>
22 >
23 > Interesting. Does /sbin/reboot exist?
24
25 gottlieb@E6430 ~ $ ls -l /sbin/reboot
26 lrwxrwxrwx 1 root root 16 Jan 28 13:08 /sbin/reboot -> ../bin/systemctl
27
28 > What does "qfile /sbin/reboot" return?
29
30 gottlieb@E6430 ~ $ qfile /sbin/reboot
31 sys-apps/systemd (/sbin/reboot)
32
33 > The only thing that is changing is a default - that flag was defaulted
34 > off before, and is defaulted on now. So, an emerge --changed-use -u
35 > world should reinstall systemd with this flag enabled, assuming you
36 > didn't manually disable it.
37
38 I have not dis- or en- abled the flag
39
40 > In any case, you can probably actually survive without poweroff,
41 > reboot, etc, assuming you shutdown using systemctl. Obviously some
42 > legacy scripts/programs/etc that are supposed to shut down your system
43 > might balk at the missing symlinks. All the use flag does is install
44 > compatibility symlinks to systemctl for these sysvinit programs and
45 > their manpages.
46
47 My poweroff sequence is to use the gnome icon to logoff
48 and then the gnome icon to poweroff
49
50 > Unless you have some package installed that explicitly depends on
51 > sysvinit or openrc you should be fine. Do you actually get any
52 > blockers/etc?
53
54 No blockers. I have two similar machines. Only problems are a
55 long-standing difficulty with one machine compiling chromium and a known
56 bug in compiling webkit-gtk-2.4.11-r200 on either machine.
57
58 > Ultimately it comes down to whether you care about the compatibility
59 > symlinks. It probably isn't a bad idea to have them though. Maybe
60 > some day you'll install a UPS and its shutdown scripts will just call
61 > shutdown/poweroff/etc and not work. Software that shuts down using
62 > either systemctl or dbus would be fine.
63
64 Since you lean toward having the symlinks, why is the new default for
65 the use flag on? Upstream?
66
67 Also why do I have the symlinks with the 236-r5 system, contracting the
68 news item. (This is true for both machines.)
69
70 Thanks again for all your help,
71 allan

Replies

Subject Author
Re: [gentoo-user] "systemd sysv-utils blocker resolution" Rich Freeman <rich0@g.o>