<div dir="ltr">This is the second systemd thread message I've seen that is a response to Peter (the first being Jamon's response, which started the thread for me). I never received either message from Peter. I have no idea why not, but I have to hope that the move to the new mail server is coming soon and will solve these problems.<br>
<div><div class="gmail_extra"><br><div class="gmail_quote">On 18 August 2014 10:33, Lennart Sorensen <span dir="ltr"><<a href="mailto:lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org" target="_blank">lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys@public.gmane.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Aug 18, 2014 at 07:11:34AM +0000, Peter wrote:<br>
> Let's be honest (warning: I am into VERY small systems which probably have<br>
> no room for systemd - but see below):<br>
><br>
> The scripts are not the problem. The problem is the daemons and other things<br>
> they start/stop, which can be programmed in ways which make them<br>
> nonresponsive for a variety of reasons. init(1) has a sane way to cope with<br>
> runaway processes, by making them sleep for a bit if they go insane. Zombies<br>
> should be dealt with by process group mechanisms which exist, but are not<br>
> used by anyone. It is really easy to write a bit of code which registers<br>
> "children to be killed in case of process group leader demise" perhaps<br>
> directly into /var/run/thedaemon.pid files, to be used by a slightly modded<br>
> init(1) when a process dies or runs away.<br>
><br>
> Adding systemd is not going to change that. A daemon that dies repeatedly<br>
> very quickly will have to be "quarantined" for a while. systemd will not fix<br>
> the underlying problem, which is certain daemons are not high quality and<br>
> robust. Using systemd to "fix" them is, imho, barking up the wrong tree.<br>
><br>
> What systemd *could* have done, is to replace the need for sh(1) and init(1)<br>
> in small systems assuming it would have some sort of shell or smnp interface<br>
> for control from a shell-less terminal, serial line, or network connection.<br>
> It would also have to be rather good at doing system things to replace sh<br>
> and init in size, so sh(1) would not be needed at all, as those 2 together<br>
> are fairly small (assuming ash or another startup sh compatible shell is<br>
> used), and do a LOT of things besides running sysv init scripts.<br>
><br>
> The way it is now, I see systemd as an unneeded complication which will<br>
> break many many things before starting to work "right" for most people. And<br>
> by most people I explicitly exclude "ready made" distribution users a la<br>
> ubuntu etc., who are end users, and, who, by their own (!) definition,<br>
> should do nothing more than push buttons and be rewarded with actions,<br>
> reagrdless how those actions are achieved.<br>
><br>
> Let's say I will be interested in systemd on small systems *after* openwrt<br>
> and other embedded distributions adopt it *and* the inevitable anguished<br>
> help cries on relevant forums die down a bit. That could take a year or two<br>
> after they start using it, judging by how things went in the past. I so wish<br>
> I am wrong about the time-frame.<br>
><br>
> Until then, I see systemd based kernels as a fork... harsh, but a serious<br>
> problem for people who need to tinker under the hood frequently, as I have to.<br>
<br>
I didn't say systemd was a good solution, I just said the scripts<br>
are crap.<br>
<br>
I would love to see a good solution. I saw a comment from Rob Landley<br>
about creating a small version of launchd (which I think he intends to<br>
name lunchd) as part of his toybox package. He has quite the rant about<br>
systemd here: <a href="https://forums.darknedgy.net/viewtopic.php?id=3844" target="_blank">https://forums.darknedgy.net/viewtopic.php?id=3844</a><br>
<br>
And yes for small systems systemd is not an option. I currently don't<br>
expect to ever use systemd on the routers we make at work. They are<br>
probably nowhere near as small as what you are dealing with though.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Len Sorensen<br>
--<br>
The Toronto Linux Users Group. Meetings: <a href="http://gtalug.org/" target="_blank">http://gtalug.org/</a><br>
TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists" target="_blank">http://gtalug.org/wiki/Mailing_lists</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Giles<br><a href="http://www.gilesorr.com/">http://www.gilesorr.com/</a><br><a href="mailto:gilesorr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org">gilesorr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org</a>
</div></div></div>