4 ms·
Not sure your analogy really works here, since languages like Haskell, Rust, etc. will tell you at compile-time that you have made some mistake. That's not how
by welterde 6y ago
Not sure your analogy really works here, since languages like Haskell, Rust, etc. will tell you at compile-time that you have made some mistake.
That's not how systemd (or any init system) works though. Things break at runtime.
It sure would be nice to have a system that could tell me stuff won't work before running it, but that's just not possible.
And my problem is the very definition of a race-conditions. It doesn't always occur and if I play with the timing a bit I can make it go away.
The dependency unit is a oneshot script that adds some ip addresses to interfaces. The dependent job tries to bind to one of those ip addresses. And yes the interface is up before this all happens.