Originally posted by Nobu
View Post
Announcement
Collapse
No announcement yet.
Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
Collapse
X
-
Originally posted by Vim_User View PostI am merely pointing out that systemd is not capable of doing what it is advertized to do unless the services it starts are specifically written to connect to systemd (read: introduce a dependency on systemd), either using its libraries or its DBus interfaces.
Comment
-
Originally posted by erendorn View PostBut that does not make a dependency on systemd, as the services can still be run without.
And even if someone wants to use socket activation or the notify calls, those can be implemented without systemd libraries. You can take their code (its a single .c file) and drop it into your project (Legally!) and your project will use those abilities if they are present and it won't die if they aren't.
Comment
-
Originally posted by Zan Lynx View PostYes.
And even if someone wants to use socket activation or the notify calls, those can be implemented without systemd libraries. You can take their code (its a single .c file) and drop it into your project (Legally!) and your project will use those abilities if they are present and it won't die if they aren't.
Comment
-
Originally posted by gens View Post
Comment
-
Originally posted by Vim_User View PostI never stated that other init systems could do that or that there is not enough documentation. The whole point of my statement is that systemd is not able to reliably start dependent services, as long as those services are not specifically coded against the systemd libraries or its DBus interfaces. So to get systemd working as advertized you need to make your services dependent on systemd, otherwise it will not be able by design to do what people want it to do.
And isn't the whole point (or at least one of the main points) of systemd to be able to do exactly that without having to depend on unreliable mechanisms like PID files? I smell fail here, just my opinion.
Comment
-
Originally posted by TheBlackCat View PostExcept without dependency handling and without tracking of child processes. You know this, it has been explained to you dozens of times.
dependency handling is in .service files (in systemd-s case)Last edited by gens; 25 April 2014, 10:10 AM.
Comment
-
-
Originally posted by doom_Oo7 View PostAns how do you stop dependant services if the one they depend on cranes and you don't know it due to lack of tracking?
Or, if you were talking about separate services altogether, whether those services are stopped or not depends on whether you add the depending services to Wants or Requires in the dependent service, or the other which way...I'm dyslexic, okay?Last edited by Nobu; 25 April 2014, 07:47 PM.
Comment
Comment