Fixes bootlogd loop, support "machinectl stop"
This release introduces one new feature, a bug fix, and some documentation improvements.
-
When the user executes "machinectl stop", systemd sends SIGRTMIN+4 to PID 1 in the container, and expects that to initiate a graceful shutdown (power-off). SysV init now catches this signal and initiates a shutdown (shutdown -hP now).
-
Fix issue in bootlogd which could cause the service to enter an endless loop (and use too much CPU) when it is able to open a device for writing, but not actually able to write to it. This resulted in bootlogd closing and re-opening the device over and over. Now bootlogd should simply fail gracefully when it cannot write to an open file/device.
-
Fix formatting in shutdown.8 manual page. Cleaned up whitespace and special characters.