Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: mikemol@×××××.com
Subject: Re: [gentoo-dev] pid 1 design
Date: Thu, 09 Aug 2012 20:57:25
Message-Id: 20120809225658.604f27af@pomiocik.lan
In Reply to: Re: [gentoo-dev] pid 1 design by Michael Mol
1 On Thu, 9 Aug 2012 16:45:28 -0400
2 Michael Mol <mikemol@×××××.com> wrote:
3
4 > On Thu, Aug 9, 2012 at 4:37 PM, Michał Górny <mgorny@g.o>
5 > wrote:
6 > > On Thu, 9 Aug 2012 22:27:37 +0200
7 > > Peter Stuge <peter@×××××.se> wrote:
8 > >
9 > >> Rich Freeman wrote:
10 >
11 > [snip]
12 >
13 > >> > Systemd isn't a like-for-like replacement for traditional inits.
14 > >> > It aims to be much more, so this is a bit of an apples-to-oranges
15 > >> > comparison.
16 > >>
17 > >> Yes, it is much more, which is a very nice thing on the systems
18 > >> it supports. I believe systemd is not usuable at all outside Linux
19 > >> and will not likely ever be, so for prefix there will anyway always
20 > >> be systemd alternatives in Gentoo! And on those systems the service
21 > >> files should never be installed.
22 > >
23 > > Considering that systemd unit files are sometimes shipped with
24 > > upstream packages, and often they are practically equivalent to
25 > > openrc init scripts, I'd rather see openrc supporting that file
26 > > format as an extension and using it instead of duplicating the same
27 > > thing in init.d scripts.
28 > >
29 > > And yes, that means that people masking service files shoot
30 > > themselves in the foot.
31 > >
32 > > Also, if I had more time (or support), I'd probably start working
33 > > on a systemd-compatible init system with a more portable design.
34 >
35 > I would find this very interesting. I doubt I could find time for much
36 > active contribution, unfortunately, but I'd help where I could.
37
38 Well, the sad thing is that I don't really have much expertise in this
39 area. I like the philosophy of designing many smalls things which just
40 work well together, so I would probably start that by reinventing some
41 helper tools.
42
43 It would be most helpful to get some aid from OpenRC team. I believe
44 that some common-use tools written for the project could be used
45 and tested in OpenRC first. And that way, slowly a new init system
46 could enter the world.
47
48 Sadly, it would be strictly bound to file formats and names set by
49 systemd team.
50
51 --
52 Best regards,
53 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature