After the update to sys-apps/openrc-0.39, I noticed that the following error message started to appear during shutdown: * Stopping NetworkManager ... [ ok ] * Stopping consolekit ... [ ok ] * Stopping metalog ... [ ok ] * Stopping dbus ... [ ok ] * openrc-shutdown: No shutdown time specified Usage: openrc-shutdown [options] Options: [ cdDfFHKpRrswChqVv ] -c, --cancel cancel a pending shutdown -d, --no-write do not write wtmp record -D, --dry-run print actions instead of executing them -H, --halt halt the system -K, --kexec reboot the system using kexec -p, --poweroff power off the system -R, --reexec re-execute init (use after upgrading) -r, --reboot reboot the system -s, --single single user mode -w, --write-only write wtmp boot record and exit -h, --help Display this help output -C, --nocolor Disable color output -V, --version Display software version -v, --verbose Run verbosely -q, --quiet Run quietly (repeat to suppress errors) * Unmounting loop devices * Unmounting filesystems The source of the error is the openrc-shutdown command in /etc/init.d/bootmisc: stop() { # Write a halt record if we're shutting down if [ "$RC_RUNLEVEL" = shutdown ]; then [ "$RC_UNAME" = Linux ] && openrc-shutdown -w Adding argument "now" will fix the problem, i.e. it should be [ "$RC_UNAME" = Linux ] && openrc-shutdown -w now
Since this is just being used to write a wtmp record, there is no need for a shutdown time. I will rework this to process without requiring one.
This is fixed in 0.39.1.