After upgrading to sys-apps/baselayout-1.12.0_pre8 my laptop no longer automatically powers off after `shutdown -h now` nor does it reboot after `reboot`. Instead, the message "INIT: no more processes left in this runlevel" appears - and the system just sits there. Downgrading to sys-apps/baselayout-1.12.0_pre6-r3 (the version from which I upgraded in the first place) fixes these issues.
Created attachment 67494 [details] Output of `emerge --info` using baselayout-1.12.0_pre6-r3
Changing the interpreter of /sbin/rc from /sbin/runscript to /bin/bash as adviced by az in #gentoo-dev fixed this issue.
With /sbin/runscript as interpreter, $BASH gets set to /usr/bin/runscript, which is unavailable after umounting local filesystems (since /usr is on a separate partition).
`equery b /usr/bin/runscript` [ Searching for file(s) /usr/bin/runscript in *... ] net-dialup/minicom-2.1-r1 (/usr/bin/runscript) Hmmm...
baselayout-1.12.0_pre8-r1 fixes the value of $BASH, but `shutdown` and `reboot` still doesn't work as expected. What does work, is commenting out (removing) LANG from /etc/conf.d/env_whitelist. Thanks to azarah for his help on IRC.
Fixed with baselayout-1.12.0_pre8-r2.
Confirmed. Thanks :)