First of all, when I do a normal su and enter my root password I don't have
/sbin/, /usr/sbin/ and /usr/local/sbin in my $PATH. When I do a "su -"
everything is fine so far.
But now to my real problem, I'm not able to shutdown or reboot my system.
When I enter halt or reboot nothing happens, I just see that rc is using a high
amount of my CPU but the system is still running.
I have to do hard-shutdown (disconnect the power supply) to halt my system and
that isn't really a good thing.
I already checked the logs but they say nothing.
Steps to Reproduce:
1. su -
Nothing, rc is using a amount of my CPU but that's it.
Do a clean shutdown/reboot of my system. ;)
Portage 220.127.116.11-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
System uname: 2.6.11-hardened-r15 i686 Intel(R) Pentium(R) M processor 1.60GHz
Gentoo Base System version 1.12.0_pre3
ccache version 2.4 [enabled]
dev-lang/python: 2.3.5, 2.4.1-r1
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
USE="x86 X acpi alsa avi berkdb bitmap-fonts bonobo cdr chroot crypt cscope cups
curl doc dvd dvdr eds emboss encode esd f77 fam fbcon fftw flac foomaticdb
fortran gd gdbm ggi gif gmp gnutls gpm gstreamer gtk gtk2 imagemagick imlib
ipv6 jpeg ldap libg++ libwww mad matroska mikmod mmx mp3 mpeg ncurses nls nptl
nptlonly ogg oggvorbis opengl oss pam pcm cia pdflib perl png python quicktime
readline samba sdl skey slang softmmu speex spell sse ssl tcltk tcpd tetex tiff
truetype truetype-fonts type1-fonts unicode vorbis xml2 xmm s xosd xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
does baselayout-1.11.13 work ?
I was able to do a clean reboot after installing baselayout-1.11.13 . I will try
it again in a few hours.
Nevertheless, /sbin/, /usr/sbin/ and /usr/local/sbin are still missing in root's
(In reply to comment #2)
> Nevertheless, /sbin/, /usr/sbin/ and /usr/local/sbin are still missing in root's
It's normal behaviour. 'su' doesn't change the environment. Use 'su -' for full
root's PATH, including /sbin etc.
(In reply to comment #3)
> It's normal behaviour. 'su' doesn't change the environment. Use 'su -' for full
> root's PATH, including /sbin etc.
It used to work with su, too. That's why I'm confused.
ph is correct
regardless, this bug is about shutting down ... dont file/handle two different
issues in the same bug
(In reply to comment #5)
> regardless, this bug is about shutting down ... dont file/handle two different
> issues in the same bug
I just mentioned it because I didn't know if the two problems are connected.
Anyway, my shutting down problem seems to be solved by the installation of
baselayout-1.11.13. Hopefully the next version of baselayout will fix the
problem of baselayout-1.12.0_pre3.
Thank you for your help, ph and SpanKY.
UberLord: feel like tackling ?
Created attachment 65158 [details]
Try saving this attachment as /lib/rcscripts/sh/rc-services.sh and see if that
Sadly not, still the same behavior.
baselayout-1.12.0_pre4 is now in portage - does this fix your issue?
And are you using NIS?
(In reply to comment #10)
> baselayout-1.12.0_pre4 is now in portage - does this fix your issue?
> And are you using NIS?
I'm not using NIS.
Are you able to boot without any problems?
Can you stop each service in the default runlevel manually?
If you can, can you shutdown then?
If not, can you also stop each non-baselayout provided boot service manually?
If you can, can you shutdown then?
(In reply to comment #12)
> Are you able to boot without any problems?
> Can you stop each service in the default runlevel manually?
Everything besides netmount.
rc-status told me [stopping] all the time.
I removed netmount from the default runlevel. After a hard-shutdown and normal
boot I was able to shutdown my system the normal way.
Oh, I tryed it again and it didn't work. :(
You told me to stop the other boot services when my halt fails and when I do
/etc/init.d/checkfs stop the system shuts down.
Are you by any chance using samba, cups and vmware? If not, please post the
contents of your runlevel (ie what services you start)
pre5 is out, it should fix your problem