Gentoo Archives: gentoo-amd64

From: Marc Joliet <marcec@×××.de>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: Systemd migration: opinion and questions
Date: Sat, 23 May 2015 11:12:13
Message-Id: 20150523131156.01ba56fe@marcec
In Reply to: [gentoo-amd64] Re: Systemd migration: opinion and questions by Duncan <1i5t5.duncan@cox.net>
1 Am Sat, 23 May 2015 10:41:03 +0000 (UTC)
2 schrieb Duncan <1i5t5.duncan@×××.net>:
3
4 > Marc Joliet posted on Sat, 23 May 2015 10:49:07 +0200 as excerpted:
5 >
6 > > Am Thu, 21 May 2015 09:36:28 +0000 (UTC)
7 > > schrieb Duncan <1i5t5.duncan@×××.net>:
8 > >
9 > > [...]
10 > >> I decided to keep systemd, and ultimately, to unmerge openrc
11 > > [...]
12 > >
13 > > I forgot to ask about this: how did you go about doing that? I'm still
14 > > waiting for the following two bugs to be resolved:
15 > >
16 > > https://bugs.gentoo.org/show_bug.cgi?id=504116
17 > > https://bugs.gentoo.org/show_bug.cgi?id=511500
18 > >
19 > > Do you have none of the affected packages installed, or...?
20 >
21 > Good question!
22 >
23 > Answer: "or..." Very definitely "or...", as you will see below. =:^)
24 >
25 > functions.sh is easy enough to fix, if you're willing to create a single
26 > symlink, manually.
27 >
28 > $ equery belongs functions.sh
29 > sys-apps/gentoo-functions-0.10 (/lib/gentoo/functions.sh)
30 >
31 > The package gentoo-functions is /supposed/ to replace a couple gentoo-
32 > specific files formerly found in openrc, thereby making openrc optional
33 > for those using other init systems (like systemd). One of those files is
34 > functions.sh[1].
35 >
36 > But the old /etc/init.d/functions.sh location was hardcoded into a lot of
37 > gentoo utilities over the years, some of which don't get updated very
38 > often especially for stable, and the new /lib/gentoo/functions.sh
39 > location, while more appropriate, still can't be found by some of these
40 > apps. That's what the first bug is about.
41 >
42 > Simple enough fix -- ensure the gentoo-functions package is installed (it
43 > should be as it's a dependency of enough stuff, including current glibc
44 > packages!), and do a manual symlink from the old location to the new
45 > one. Viola! No openrc needed for THAT any more, and because the new
46 > location's file is still packaged, any updates to it should occur
47 > normally and will be simply picked up by anything still using the old
48 > location, since it's a symlink! =:^)
49 [...]
50
51 That is certainly an interesting approach, since it avoids any upgrades. Then
52 I would only have to deal with openrc.
53
54 [snip empty @system approach]
55
56 Wow, that's certainly an interesting approach! It's definitely not for me,
57 though. While I appreciate the control Gentoo gives me, I don't need *that*
58 kind of control.
59
60 --
61 Marc Joliet
62 --
63 "People who think they know everything really annoy those of us who know we
64 don't" - Bjarne Stroustrup

Replies