Daemontools has an elegant interface? I agree the overall design is very elegant, with many focused, small, single purpose tools. But the actual user (read: admin) experience of it leaves much to be desired.
it demands you setup several arbitrary directories in root, without caring at all about FHS,
the default log format is just ridiculous, with the screwy timestamps formats it uses, meaning you can't just tail -f logs and have it be usable
the docs are pretty bad
I think runit provides much of the same benefit as daemontools, with more compliance to standards and bit better docs and UX. It was very clearly inspired by daemontools, as well, to give credit where its due.
Excuse me: I don't give a shit about FHS either. FHS is brain damaged and stupid and extremely un-unix like. It cares more about vanity than usability.
If tradition mattered at all to these fucktards users would be in /usr, and if functionality mattered to these asshats, we wouldn't have /usr/local at all.
When the "system" absorbs another program (because a debian maintainer steps up), it moves from /usr/local/bin to /usr/bin and now scripting languages are at a severe disadvantage; do they use /usr/bin/env tricks? or what?
When a library needs a secure setuid helper, does it hardcode the path, requiring a recompile to change it? Or does it make it configurable and thus "FHS compliant" and weaken security? Or do we just put the binary in multiple places?
Should programs installers edit manpath? Or should they copy their manual pages into the manual directory (breaking "FHS")?
FHS makes it difficult to have multiple versions of the same program installed (look in /usr/bin/python* for an example)
FHS is just bad engineering.
the default log format is just ridiculous, with the screwy timestamps formats it uses, meaning you can't just tail -f logs and have it be usable
You can't tail -f logs anyway, unless you're willing to accept time zone differences and disappearing (lost) log entries. It's also very hard to have a log level high enough to figure out problems, but low enough that it doesn't scroll by too quick.
Plus, when your system gets busy, even the low log levels spew too much stuff.
I have too many machines with too much activity to monitor with tail -f and so specialized analysis tools are needed.
the docs are pretty bad
I think djb's documentation is among the best I've seen of any author. It's error free and exhaustive. What exactly do you have a problem with?
I think runit provides much of the same benefit as daemontools,
runit extends daemontools in an effort to replace init, and so it has concepts of runlevels, and etc. It also breaks some things, decreases parallelism (so that services can "wait" for non-services like networking).
If a system like debian replaced their init with runit, that would be great, but it doesn't offer any features over supervise that I find interesting.
View all comments
Show parent comment
2
u/rsanheim Oct 21 '09
Daemontools has an elegant interface? I agree the overall design is very elegant, with many focused, small, single purpose tools. But the actual user (read: admin) experience of it leaves much to be desired.
I think runit provides much of the same benefit as daemontools, with more compliance to standards and bit better docs and UX. It was very clearly inspired by daemontools, as well, to give credit where its due.