LWN.net Logo

Poettering: systemd for Administrators, Part VIII

Poettering: systemd for Administrators, Part VIII

Posted Apr 22, 2011 2:11 UTC (Fri) by wahern (subscriber, #37304)
In reply to: Poettering: systemd for Administrators, Part VIII by cmccabe
Parent article: Poettering: systemd for Administrators, Part VIII

systemd will work well in the short run. But give me an example where moving a hundred different tasks into a single, monolithic C application with a descriptive or declarative configuration format has worked out in the long run.

Everything that systemd replaces is the result of endless experimentation made possible by the flexibility that scripting languages--particularly and especially shell scripting--allows. Systemd will now destroy this process. Systemd won't stop the inevitable hacks that people will implement in the future; it's only cleaned up the past hacks. Future hacks are going to be uglier, more obscure, and more frustrating because they're going to include dreadful workarounds to the rigidity of systemd. That is, unless and until systemd reinvents the wheel regarding scripting support.

Come back to this thread in 10 years, tell me I was wrong, and I'll buy you a beer.


(Log in to post comments)

Poettering: systemd for Administrators, Part VIII

Posted Apr 22, 2011 4:39 UTC (Fri) by josh (subscriber, #17465) [Link]

You can always patch systemd if you don't like its behavior. Or you can install a systemd file that invokes a shell script if you really want to.

Poettering: systemd for Administrators, Part VIII

Posted Apr 22, 2011 10:13 UTC (Fri) by mpr22 (subscriber, #60784) [Link]

Tell me one thing you would want to do which (a) would need to be managed by one of the things systemd replaces and (b) would be impossible or ugly with systemd. Here's the man pages.

Poettering: systemd for Administrators, Part VIII

Posted Apr 22, 2011 12:45 UTC (Fri) by mezcalero (subscriber, #45103) [Link]

You are very confused.

The early boot stuff systemd covers is not done from a single process. It's all neatly separated in individual binaries. Nice, modular, simple and parallelizable. All those binaries are simple C programs with no deps but libc. So it's not monolithic at all.

Poettering: systemd for Administrators, Part VIII

Posted Apr 22, 2011 17:25 UTC (Fri) by martinfick (subscriber, #4455) [Link]

Perhaps you should think of systemd as a "little language"? I do.

http://c2.com/cgi/wiki?LittleLanguage

And, from that perspective, systemd is something well overdo. Unix has many little languages to make simple things simple, and my impression of systemd is that it makes many more simple things simpler.

I love the power of shells, but I cannot endorse what standard linux startup scripts have become. They have always seemed to me to be a place ripe for the introduction of a little language, and I am shocked that it has taken so long! Now that someone has finally done so, and improved on system isolation and dependency management, without taking away the power of using a shell, I am delighted.

I feel that systemd embodies the unix philosophy way better than some tangled mess of shell scripts do (and way better than other startup systems on other OSes). I hope that Lennart continues to push solutions to fill the linux gaps that he sees, particularly the ones which the oldbeards can no longer see because they are so used to overlooking them. Thank you Lennart!

Poettering: systemd for Administrators, Part VIII

Posted Apr 28, 2011 15:56 UTC (Thu) by stevem (subscriber, #1512) [Link]

Absolutely: loss of flexibility, loss of experimentation, loss of tweakability. Ick.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds