Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gentoo-systemd-only deprecation
Date: Wed, 31 Jul 2013 07:00:34
Message-Id: CADPrc81vKzXFKfL9N0=PNJOj+EPyLKCJ9z4m9sbo0FD02fL3LQ@mail.gmail.com
In Reply to: Re: [gentoo-user] gentoo-systemd-only deprecation by Daniel Campbell
1 On Wed, Jul 31, 2013 at 1:24 AM, Daniel Campbell <lists@××××××××.us> wrote:
2 > On 07/30/2013 05:40 PM, Canek Peláez Valdés wrote:
3 >> There is going to be resistance. Two months ago there was a huge
4 >> thread in gentoo-dev, because a package maintaner complained that his
5 >> co-maintainer added a systemd unit to the package:
6 >>
7 >> http://thread.gmane.org/gmane.linux.gentoo.devel/85792
8 >>
9 >> In the end, the maintainer rage-quit:
10 >>
11 >> http://article.gmane.org/gmane.linux.gentoo.project/2551
12 >>
13 >> However, this is the extreme behaviour: most developers (and rational
14 >> people) agree to adding systemd unit files to all packages, and we
15 >> have much better coverage now that some months ago.
16 >>
17 >> If users cooperate opening bugs adding systemd unit files (after
18 >> testing them in their machines), the coverage is going to grow even
19 >> faster.
20 >>
21 >> Regards.
22 >>
23 >> On Tue, Jul 30, 2013 at 5:04 PM, <covici@××××××××××.com> wrote:
24 >>> Canek Peláez Valdés <caneko@×××××.com> wrote:
25 >>>
26 >>>> On Tue, Jul 30, 2013 at 12:53 PM, <covici@××××××××××.com> wrote:
27 >>>>> Canek Peláez Valdés <caneko@×××××.com> wrote:
28 >>>>>
29 >>>>>> On Tue, Jul 30, 2013 at 2:47 AM, Pavel Volkov <negaipub@×××××.com> wrote:
30 >>>>>>> On Tue, Jul 30, 2013 at 11:09 AM, Pavel Volkov <negaipub@×××××.com> wrote:
31 >>>>>>>>
32 >>>>>>>> On Sunday 28 July 2013 03:22:02 Canek Peláez Valdés wrote:
33 >>>>>>>>> Therefore, as of today, anyone can have a Gentoo machine with only
34 >>>>>>>>> systemd, with no OpenRC installed.
35 >>>>>>>>
36 >>>>>>>> Really? Bug 373219 is still open.
37 >>>>>>>
38 >>>>>>>
39 >>>>>>> Sorry, I missed your explanation at the end about that one. Ok, thanks for
40 >>>>>>> what you've done :)
41 >>>>>>
42 >>>>>> Mmmh, and I missed this last reply of you.
43 >>>>>>
44 >>>>>> Anyway, dealing with /etc/init.d/functions.sh is basically trivial.
45 >>>>>
46 >>>>> But still, we have lots of packages with no systemd units -- shouldn't
47 >>>>> they all have a systemd use flag and units to go with it -- basically
48 >>>>> anything which has something in /etc/init.d . I was looking for a
49 >>>>> sendmail unit and could find nothing, for one example.
50 >>>>
51 >>>> Yeah, we are not even near 100% coverage. However, one of the many
52 >>>> advantages of systemd is that a service unit from a distribution
53 >>>> usually works as-is or with minimal changes in any other.
54 >>>>
55 >>>> For many basic unit files, you can go to
56 >>>>
57 >>>> https://github.com/vonSchlotzkow/systemd-gentoo-units
58 >>>>
59 >>>> It has a unit file for postfix, for example. If the one you are
60 >>>> looking for is not there, you can search in other distributions. If
61 >>>> you download the RPM from
62 >>>> http://rpm.pbone.net/index.php3/stat/4/idpl/21317874/dir/fedora_19/com/sendmail-8.14.7-1.fc19.i686.rpm.html,
63 >>>> and extract the files with rpm2tarbz2, then you can get the
64 >>>> sendmail.service file.
65 >>>>
66 >>>> It will probably need some changes to work with Gentoo, but it should
67 >>>> not be difficult.
68 >>>>
69 >>>> When is working, you can send your unit to the package maintainer in
70 >>>> Gentoo, and at some point it could be included in the package (like
71 >>>> the OpenRC init script).
72 >>>>
73 >>>> That's how we will get 100% coverage, eventually.
74 >>>
75 >>> OK, I will check those -- thanks. I hope package maintainers now start
76 >>> putting those service units in, now that systemd is required by gnome.
77 >>>
78 >>>
79 >>> --
80 >>> Your life is like a penny. You're going to lose it. The question is:
81 >>> How do
82 >>> you spend it?
83 >>>
84 >>> John Covici
85 >>> covici@××××××××××.com
86 >>>
87 >>
88 >>
89 >>
90 >
91 >
92 > What's irrational about that guy's reasons for being against the systemd
93 > unit files? I remember that thread, and he made some decent technical
94 > points. Unfortunately, the council rejected a systemd USE flag, so the
95 > best route was shot in the head before it had a chance. Yet OpenRC needs
96 > a USE flag to enable it... rather fishy.
97
98 You need an OpenRC use flag to install OpenRC init scripts? That's
99 simply a lie. If you don't want OpenRC scripts in /etc/init.d, you
100 need to set INSTALL_MASK accordingly. The same with systemd if you
101 don't want unit files in /usr/lib/systemd/system.
102
103 Regards.
104 --
105 Canek Peláez Valdés
106 Posgrado en Ciencia e Ingeniería de la Computación
107 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] gentoo-systemd-only deprecation Walter Dnes <waltdnes@××××××××.org>