:: Re: [DNG] Yeah… everything
Top Page
Delete this message
Reply to this message
Author: Peter Duffy
Date:  
To: dng
Subject: Re: [DNG] Yeah… everything
A while ago, I was trying to visualise the thinking which probably
drove the systemd development process.

Obviously, the first motivation was to come up with something which had
a standardised interface, and avoided the need for writing init
scripts. That was fairly reasonable - those of us who are comfortable
writing init scripts are probably few on the ground and tend to be a
dying breed anyway.

Then was the wish to start demon processes as trees of dependencies,
rather than in a set order, thus facilitating the possibility of some
processes starting in parallel. This was seen as potentially decreasing
the time which a machine would take to boot up. The obvious downside
was that if a service either didn't start or took longer to start
(maybe because of a hardware change or temporary problem), it could
affect the startup of other services in complex and unpredictable ways,
which could result in a hung system. (Same applies - possibly even more
so - to system shutdown.)

Probably the next thing - and the start of the rot - would be the
problem of restarting a daemon process if it fails. That was realised
decades ago - probably during initial UNIX development - and is almost
always dealt with by writing the daemon using the "double fork"
principle: the process started by the init system immediately forks a
copy of itself - the child becomes the server proper, which then plugs
itself in to receive requests, and forks off other children to handle
them; the parent continues to monitor the server process, and starts a
new copy if it disappears or (in some cases) if it becomes
unresponsive. It must have occurred to LP and the other systemd
developers that to build into systemd a generic method of monitoring
daemon processes and restarting them if necessary would be beneficial -
and if it had stopped there, it probably would have been beneficial.
But obviously that would be a route into the apparently endless
feature-creep: OK, we can make it do this - now how about . . . ? And
very soon there was the central and permanent linux management system
which we all know so well and hate so much :(

On Sun, 2026-06-21 at 10:43 +0200, Martin Steigerwald wrote:
> Marko Ranđelović via Dng - 21.06.26, 10:12:26 CEST:
> > On 6/20/26 11:42, Martin Steigerwald wrote:
> > > Why not putting a complete desktop environment into Systemd?> >
> > > Oh and
> > > then merge the Linux kernel together with Systemd.> > Why
> > not just one large big binary blob with everything included?> > The
> > great SystemdLinux blob.
> > Nothing strange. Notice the name 'system 500', not 'system 500
> > init'. It
> > was obvious from the beginning what they wanted to do.
>
> AFAIR initially Lennart wrote Systemd would be an init system
> replacement
> – not the later system building blocks thing. If my memory is
> accurate,
> then while it might have been clear to him that it would be much
> more, his
> communication was not quite so accurate and complete.
>
> However his blog website appears to be gone and I am not even sure it
> was
> on the blog. Might still be researchable, probably with the help of
> the
> Internet Archive, but not feeling like spending the time to do that
> ATM.
>
> What I clearly remember is: As I compared Systemd strategy with the
> Embrace, Extend, Extinguish (EEE) from Microsoft he asked me to stop
> being
> a d*ck. Well I wrote this comparison on their Systemd development
> mailing
> list back then. But I still think what I wrote back then has been on
> point, quite exactly so.
>
> Best,