|
|
Subscribe / Log in / New account

Debugging?

Debugging?

Posted Nov 20, 2010 17:02 UTC (Sat) by foom (subscriber, #14868)
In reply to: Debugging? by quotemstr
Parent article: systemd v12 released

Most of the reasons I've ever needed to edit a init.d script is because the init.d script sucked, not the thing it was starting. IMO systemd has the potential to eliminate that problem entirely...


to post comments

Debugging?

Posted Nov 20, 2010 19:51 UTC (Sat) by quotemstr (subscriber, #45331) [Link] (1 responses)

Erm, so your assertion is that systemd will magically lead to bug-free initialization that doesn't need workarounds? "systemd works fine as long as the initialization configuration is perfect" is a rather weak argument.

Debugging?

Posted Nov 21, 2010 4:12 UTC (Sun) by foom (subscriber, #14868) [Link]

No, my point was that most of the problems I've had have been because of all the duplicate crud in init.d shell scripts which have been copied incorrectly while being cargo-culted from program to program. So, my problems won't have a chance to happen, because the description of how to manage a daemon in systemd is so much shorter and harder to screw up.

Obviously it's possible to have other kinds of problems too...If you want to call sleep 1 before starting a daemon there's nothing stopping you from replacing the start command-line with a shell script that calls sleep 1 before starting the daemon. Even in systemd that should work...


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