Finit v4.9
Caution
This release changes how Finit reacts to the exit status of pre:
scripts. Finit will now no longer start the main process if its
pre: script fails for any reason. So, if you have pre scripts that,
e.g., create directories, make sure they are idempotent.
Changes
- Add individual timeout (optional) support for pre/post/ready scripts
- Add support for systems with broken RTC, i.e., those that at power-on
may reset the RTC to a random date instead of zero, issue #418 - Add support for detecting "in-container" when in
systemd-nspawn - Check exit status of
pre:scripts, on failure drive service/sysv to
crashedstate. (The exit code ofpost:scripts remain ignored) - All pre/post/ready scripts are now also searched for in
$PATH - Reset color attributes and clear screen when starting up. This is
for boot loaders like GRUB, which leave background color artifacts
Fixes
- Fix #415: only mark reverse-dependencies "dirty" if the main service
does not support SIGHUP. This helps avoid unnecessary restarts of
services that depend on a service that supports SIGHUP - Fix #417: leaking inotify watchers in the cgroup subsystem
- Fix #421: add support for
nofailmount option in/etc/fstab - Fix #425: ordering bug in detecting .conf file changes to services
andinitctl reload, or runlevel changes - Fix
initctl touchof template services, previously marking a
service created from a template as "dirty" did not take - Fix unintended restart of template "siblings". I.e.,
initctl touch
of instantiated template service A affected B from same template - Fix buggy
--with-rtc-date=DATEconfigure option - Fix kill on timeout of pre/post/ready scripts