Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Providing a `service` scripts that speaks OpenRC and systemd
Date: Fri, 29 Sep 2017 10:40:15
Message-Id: pan$e9798$657311e3$f217f451$5e9169b6@cox.net
In Reply to: [gentoo-dev] Re: Providing a `service` scripts that speaks OpenRC and systemd by Harald Weiner
1 Harald Weiner posted on Fri, 29 Sep 2017 04:47:35 +0200 as excerpted:
2
3 > Duncan posted on 09/29/17 2:08 AM as excerpted:
4 >
5 >> Or are we going to replace rm, and fdisk, and gdisk, and cfdisk, and
6 >> cgdisk, and who knows how many other binaries, with "safe"
7 >> alternatives,
8 >> because some gentooer couldn't be bothered to think for a moment
9 >> whether a command in some instructions they're following is actually
10 >> appropriate to the situation and the environment they're working in?
11 >
12 > Well, I think I understand what you want to say but actually your
13 > argument sounds a little bit strange.
14 > Gentoo is about choice, right? So a Gentoo user has the ability to
15 > choose between OpenRC or SystemD init systems (by the way, many thanks
16 > to the Gentoo developers for making this possible). But some
17 > developer(s) might provide a package with a wrapper tool so that instead
18 > of manual "translation" to your init system, you can just use type $
19 > service <whatever> start And some users might want to use this package.
20 > So I do not see the problem, as long as nobody forces you to use the
21 > service tool. Actually, it adds a new choice for users: Either they use
22 > the service-tool or they invoke their init system commands as they have
23 > always done.
24
25 That's not far from what I said, I don't oppose a separate "service"
26 package, I simply don't see the need.
27
28 But a want isn't a need, which is where your "choice" argument comes in.
29 =:^)
30
31 As long as it doesn't get added to @system or become a hard dep (direct
32 or indirect) of something in @system, and preferably doesn't become a
33 hard dep of anything, tho a USE-controlled dep is fine. Because that
34 would turn the choice argument on its head, which is what I'm afraid of.
35
36 --
37 Duncan - List replies preferred. No HTML msgs.
38 "Every nonfree program has a lord, a master --
39 and if you use the program, he is your master." Richard Stallman