3 ms·
> How is having every single daemon implement setuid, chroot, logging, privilege dropping and so on "unix way"? You are predicating your argument upon a fallac
by JdeBP 8y ago
> How is having every single daemon implement setuid, chroot, logging, privilege dropping and so on "unix way"?
You are predicating your argument upon a fallacy. AT&T Unix had a service manager from 1988 onwards.
* http://jdebp.eu./FGA/unix-service-access-facility.html http://jdebp.eu./FGA/unix-service-access-facility.html
Indeed Laurent Bercot's s6 is one of the very toolsets where all of those things are done by the toolsets. Arguing that the idea is having each program incorporate this is at best foolish and pretty much the very only-systemd-or-van-Smoorenburg-rc fallacy called out by the Uselessd Guy years ago.
* http://jdebp.eu./FGA/daemontools-family.html http://jdebp.eu./FGA/daemontools-family.html
* http://uselessd.darknedgy.net./ProSystemdAntiSystemd/ http://uselessd.darknedgy.net./ProSystemdAntiSystemd/
> no one did the hard job of converting thousands of packages to daemontools
Ahem!
% find /package/admin/nosh/config/services -name run | wc -l
849
% find /var/sv -name run | wc -l
816
%
* http://jdebp.eu./Softwares/nosh/freebsd-binary-packages.html#Bundles http://jdebp.eu./Softwares/nosh/freebsd-binary-packages.html...
* http://jdebp.eu./Softwares/nosh/debian-binary-packages.html#Bundles http://jdebp.eu./Softwares/nosh/debian-binary-packages.html#...
* http://jdebp.eu./Softwares/nosh/guide/creating-bundles.html http://jdebp.eu./Softwares/nosh/guide/creating-bundles.html
- theamk 8y agoIf I am reading this right, it looks like you are agreeing with me? We both think that centralized service managers are good, and are consistent with Unix way; and having each daemon implement chroot and logging manually is bad. Re "nosh": this looks pretty good. I like that it can read systemd's unit files as well -- this means it provides a feasible systemd alternative for those who don't like systemd, but are not ready to rewrite all service files manually.