Skip to content

Finit v4.8

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 13 Oct 17:52
· 8 commits to master since this release

Changes

  • Avoid remounting already mounted /run and /tmp directories. This extends the existing support for detecting mounted directories to include complex mount hierarchies are in use, overlayfs and tmpfs mounts. Feature by Mathias Thore, Atlas Copco
  • getty: trigger /etc/issue compat mode for Alpine Linux
  • tmpfiles.d: skip x11.conf unless X11 common plugin is enabled
  • tmpfiles.d: ignore x/X command, nos support for cleanup at runtime
  • Drop debug mode -D from udevd in hotplug.conf.in, allow the user to set this in /etc/default/udevd instead
  • Certain initctl APIs at bootstrap are not supported, update warning log to include command (number) for troubleshooting, issue #398
  • Add support for hwrng to urandom plugin and check for empty seed
  • Add runparts -b (batch mode) support, disables escape sequences
  • New configure --without-rc-local, disables /etc/rc.local support
  • New configure --disable-cgroup option, disables cgroup v2 detection
  • initctl show [email protected] now shows how an enabled template service has been evaluated by Finit, issue #411
  • Extend initctl timeout connecting and waiting for Finit reply. The previous 2 + 2 second poll timeout has proved to be too short on more complex systems. Now a 15 + 15 second timeout is applied which should be more resistant to temporary overload scenarios, issue #407

Fixes

  • Fix #397: system shutdown/reboot can block on console input if action is started remotely (ssh). Caused by legact TTY screen size probing, removed from both bootstrap and shutdown/reboot
  • Fix #400: both HOOK_MOUNT_ERROR and sulogin() fail to trigger on either mount or fsck errors. Problem caused by unresolved status from pipe, calling pclose() without extracting exit status
  • Fix #402: initctl touch does not respect -n (no error) flag
  • Fix #403: initctl touch does not support template services
  • Fix #404: possible undefined behavior when --with-fstab=no is set
  • Fix #405: @console getty does not work with tty0 ttyS0
  • Fix #409: prevent tmpfiles from following symlinks for L+ and R, otherwise symlink targets would also be removed. Found and fixed by Mathias Thore and Ming Liu, Atlas Copco
  • Fix #414: Frr Zebra immediately restarts on initctl stop zebra. The fix likely works for all Frr/Quagga services due to the way they create and delete their pid file
  • Cosmetic issue with [ OK ] messages being printed out of order at shutdown/reboot. Caused by nested calls to service_stop()
  • Cosmetic issue with duplicate "Restoring RTC" message at bootstrap