Finit v4.5-rc2
Pre-release
Pre-release
·
396 commits
to master
since this release
Changes
- Refactor
runpartsand/etc/rc.localto no longer block the main loop, allowing these scripts to callinitctlto interact with Finit. Still in a limited way due to them being used at bootstrap, issue #356 - Refactor the
runstanza to no longer block the main loop, issue #362 - Allow
suloginwith a user different fromroot, issue #357 - Allow disabling invocation of rescue mode from kernel command line
- Add
initctl -fto force-skip asking Finit for existing services when creating new services during bootstrap, e.g./etc/rc.local initctl runlevelnow returnsN Sinstead ofN 10in bootstrap- Improved logging on failure to
execvp()a run/task/service, now witherrno, e.g., "No such file or directory" when the command is missing from$PATH - Add support for Bash completion to
initctl, issue #360 - Handle absolute path to
initctl [enable|disable], not supported - Update
finit.conf(5)man page with the recommended directory hierarchy in/etc/finit.d/ - The
runpartscode has been split into/libexec/finit/runparts - Add SysV Init Compatibility section to documentation
- Increased MAX path for commands, and arguments: 64 -> 256
Fixes
- Fix #227: believed to have been fixed in v4.3, the root cause was actually that Finit was waiting for a process that was no longer in the system. The fix is to ask the kernel on process-stop-timeout and replay the lost PID so that Finit can continue with reboot/shutdown
- Fix #358: fix inotify events for
/etc/finit.conf, improved log messages and error handling - Fix #361: cgroup move fail if run/task/services start as non-root. Regression in the v4.4 release cycle while adding support for the pre:/post:/ready: scripts. Now the latter scripts also properly run in their correct cgroup
- The
runpartsexecutor now skips backup files (foo~) - The
runpartsstanza now properly appendsstartto scripts that start withS[0-9]+. This has been broken for a very long time.