Uh oh.
Ubuntu has
done away with inittab, and now uses upstart to bring up the
system. However, there is still the /etc/rc[0-3S].d directories for
the runlevels and /etc/init.d for the init scripts, so installs that
expect to see a SysV init environment have no problem.
You know what this means...
We're going to have to write a Citadel service manager/monitor to bring
the services up/down and perform auto-restart after a crash.
Thankfully, crashes have been quite rare lately, except for the last couple
of weeks, due to libSieve introducing some problems. We may have to fix
and/or work around bugs in libSieve if that continues to be the case.
Our setup programs will now have to be smart enough to remove Citadel stuff
from /etc/inittab, if present. And after the service monitor is written,
it'll have to do the right thing in /etc/rc*.d. This is, of course, the
right way
to go, even though I still maintain that /etc/inittab was the
perfect place from which to run services.
Another benefit of taking the time to write a service monitor: with some
careful planning and a little tweaking, we can make the installation a lot
smoother on FreeBSD as well.