The answers are there, you just don't want to admit they are right answers...
The answers are there, you just don't want to admit they are right answers...
Posted Jun 1, 2010 1:21 UTC (Tue) by paulj (subscriber, #341)In reply to: The answers are there, you just don't want to admit they are right answers... by nix
Parent article: The road forward for systemd
E.g. the printer example Lennart gives, and says "printer plugged in" can be depended on. But what if I want to depend on the type of printer? That's treading into udev below and DBus services above, depending on exactly what I want to do. Or "network available" - but what if I want to depend on a certain kind of network interface? Or a certain location (e.g. "start the automounter, for corporate NFS if ...")? Lots of the information you might use there is being maintained by NetworkManager (using DBus to publish that info).
Basically, if we add systemd to the mix, we're going to have udev, then systemd, then DBus + {various DBus services: NetworkManager, ModemManager, gdm, polkitd, bluez, etc}. Do we really need that extra layer of management? And many services modified for systemd would have to bind into a DBus(-like)? layer anyway, to handle in-lifetime events.
Posted Jun 1, 2010 11:56 UTC (Tue)
by mezcalero (subscriber, #45103)
[Link] (2 responses)
People should handle "in-lifetime" events (as you call them) with the native notification logic available. no need to involve systemd, or dbus or anything.
Posted Jun 1, 2010 13:33 UTC (Tue)
by dlang (guest, #313)
[Link]
on some systems I use the -G option, on others I use ntpdate.
Posted Jun 2, 2010 6:33 UTC (Wed)
by paulj (subscriber, #341)
[Link]
What exactly is the "native notification logic"? (Note that many events are application layer).
Also, I'm not saying systemd needs eventing logic. I'm asking whether it makes sense to try solve these problems in a init process, external to applications. (for value of apps that includes those that would be started by it).
In short I'm asking whether actually its user-space that needs fixing to cope with differences in and changes to environmental state? Because it seems that doing that correctly would allow a not-too-fancy init to fire off apps in parallel and not worry about dependencies, as you argue systemd should be able to do with good apps. It seems applications will have to be modified to do this anyway, to get best effect from systemd.
The answers are there, you just don't want to admit they are right answers...
The answers are there, you just don't want to admit they are right answers...
The answers are there, you just don't want to admit they are right answers...