News for hackers. Stuff that matters.
Re:Knoppix 8.6 abandons systemd by Znafon on Sunday September 01, 2019 @10:14AM (#20852381)
> When I want to write a script that runs on startup, I expect that I can just put (or link) it in some directory where the scripts are that get started on startup

This is not very specific, have you never had any race-condition with this? There is a reason SystemD ask some informations regarding the service that needs to be launched. I don't see how ignoring those makes a good argument against SystemD.

Re:Knoppix 8.6 abandons systemd by labawi on Sunday September 01, 2019 @10:19AM (#20852411)
Many simple systems don't do parallel service startup like systemd, if that is what you mean.
Re:Knoppix 8.6 abandons systemd by maweki on Sunday September 01, 2019 @03:28PM (#20854231)
They mean that you can specify dependencies. So start some service Y only after X has been started. I use this extensively in my home automation services. Can't start other services if the MQTT-Server hasn't started and that isn't done until the network is initialized.
Re:Knoppix 8.6 abandons systemd by hnarn on Sunday September 01, 2019 @12:11PM (#20853011)
Sure, but doesn't that also make them slower?
Re:Knoppix 8.6 abandons systemd by edoceo on Sunday September 01, 2019 @12:22PM (#20853078)
Hardly. I'm an OpenRC user. Booting OpenRC vs SystemD, desktop, server, VM. Near zero difference in boot time, neither side was a clear winner, nor always faster.

My favorite part is OpenRC still likes the old ways, has script extensions for new ways, and runs the same path every time.

Re:Knoppix 8.6 abandons systemd by hnarn on Monday September 02, 2019 @04:52PM (#20861679)
That's just anecdotal. If it's a technical fact that SystemD does parallel upstarts where OpenRC for example does not, that just means you don't have a system where parallel upstart makes a difference.
Re:Knoppix 8.6 abandons systemd by doiwin on Sunday September 01, 2019 @10:17AM (#20852397)
No, I can not remember having a race condition regarding startup scripts.
Re:Knoppix 8.6 abandons systemd by izacus on Sunday September 01, 2019 @10:55AM (#20852591)
Then you didn't have to mantain a system of any kind of complexity.
Re:Knoppix 8.6 abandons systemd by tempguy9999 on Sunday September 01, 2019 @11:55AM (#20852911)
And you have? Can you give an example and how you solved it? Thanks! (edit: not trolling; curious)
Re:Knoppix 8.6 abandons systemd by Znafon on Tuesday September 03, 2019 @03:54PM (#20870491)
I think my issue what binding Consul to docker0 while Docker is starting. Half the time the interface wasn't ready. I don't remember exactly how I fixed it but with SystemD you can just specify a dependency.
Re:Knoppix 8.6 abandons systemd by Znafon on Tuesday September 03, 2019 @03:49PM (#20870438)
I think I had one where one service was trying to bind to a network interface that wasn't ready, maybe docker0. It was painful to find and fix.