Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104619 - baselayout-1.12.0_pre8 breaks `shutdown -h now` and `reboot`
Summary: baselayout-1.12.0_pre8 breaks `shutdown -h now` and `reboot`
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-02 09:52 UTC by Henrik Brix Andersen
Modified: 2005-09-07 06:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of `emerge --info` using baselayout-1.12.0_pre6-r3 (emerge-info.txt,2.52 KB, text/plain)
2005-09-02 09:54 UTC, Henrik Brix Andersen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Brix Andersen 2005-09-02 09:52:43 UTC
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.
Comment 1 Henrik Brix Andersen 2005-09-02 09:54:06 UTC
Created attachment 67494 [details]
Output of `emerge --info` using baselayout-1.12.0_pre6-r3
Comment 2 Henrik Brix Andersen 2005-09-02 13:24:48 UTC
Changing the interpreter of /sbin/rc from /sbin/runscript to /bin/bash as
adviced by az in #gentoo-dev fixed this issue.
Comment 3 Henrik Brix Andersen 2005-09-02 13:42:51 UTC
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).
Comment 4 Henrik Brix Andersen 2005-09-02 13:50:04 UTC
`equery b /usr/bin/runscript`
[ Searching for file(s) /usr/bin/runscript in *... ]
net-dialup/minicom-2.1-r1 (/usr/bin/runscript)

Hmmm...
Comment 5 Henrik Brix Andersen 2005-09-03 07:46:27 UTC
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.
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2005-09-07 04:44:36 UTC
Fixed with baselayout-1.12.0_pre8-r2.
Comment 7 Henrik Brix Andersen 2005-09-07 06:43:41 UTC
Confirmed. Thanks :)