I know others disagree, but how is the decision *obviously* postfix, even today?
Which init system for Debian?
Posted Feb 5, 2014 22:16 UTC (Wed) by smurf (subscriber, #17840)
Anyway, this comparison is moot. Both deliver email quite well, that's all they do and that's all they're supposed to do. Thus, this is not at all related to the systemd vs. upstart debate.
Posted Feb 5, 2014 22:58 UTC (Wed) by hummassa (subscriber, #307)
And if some package needs not only a mailer, but -- for instance -- qmail, it's a matter just of packaging it depending on qmail specifically.
The same applies between systemd and upstart. The service files are automatically translatable between them (and openrc and sysvinit). If any package *needs* a specific one, it should just depend on this one. The package can even indicate its *preference* for one of them by way of
"Recommends:". No difference.
Posted Feb 6, 2014 1:08 UTC (Thu) by vonbrand (guest, #4458)
No, the configuration files certainly aren't translatable. Yes, upstart and systemd can run SysVinit scripts though the shell as a fallback. But native upstart (or systemd, for that matter) configurations express stuff that just can't be done in SysVinit (that is sort of the point of replacing SysVinit). In upstart dependencies are described by events, would need to untengle the whole "who triggers what" dependencies of the complete set to sort them into runlevels to get some approximation in SysVinit, and that would just go back to "cross fingers that the requisite stuff is already available" mantra. Systemd starts services mostly on demand, with some hand-configured dependencies. The dependencies could be sorted into runlevels, the "on first access" part definitively not. And the underlying models of upstart and systemd are too different for interoperation (systemd started precisely from scratch to solve fundamental problems with upstart's model).
Posted Feb 6, 2014 9:56 UTC (Thu) by hummassa (subscriber, #307)
Posted Feb 8, 2014 22:27 UTC (Sat) by smurf (subscriber, #17840)
This is nontrivial even for shell scripts and would be a total mess to automate for upstart because systemd does not have (nor need) an event concept the way upstart has.
You can of course annotate a sysVinit or upstart script so that systemd can auto-translate it. But then you can write a systemd unit file from scratch just as easily, so why bother?
Posted Feb 8, 2014 22:52 UTC (Sat) by vonbrand (guest, #4458)
Both upstart and systemd can run SysVinit scripts for backward compatibility, so that point is moot.
Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds