After (properly) upgrade from baselayout-1 to baselayout-2 (-2.0.1) with openrc-0.6.1-r1 the system hangs when i want to reboot or shutdown. The system is actual, the special is, that the system is a nfs-root mounted system. I have re-emerged baselayout-2 and openrc but without success. Reproducible: Always Steps to Reproduce: 1. upgrade the system to baselayout-2 from bsaelayout-1 2. reboot the system Actual Results: the system hangs and error messages "...Speicherzugriffsfehler..." (...Memory access error...) appears Expected Results: the system will shutdown/reboot properly without errors Messages from shutdown/reboot screen: ::: * Stopping sshd ... [ ok ] * Stopping OpenAFS client ... * Unmounting /afs ... umount: /afs: device is busy. [ !! ] ::: * Unmounting NFS filesystems ... * umount.nfs: /: device is busy [ !! ] * Stopping NFS statd ... [ ok ] * Stopping rpcbind ... [ ok ] * Unloading lm_sensors modules... ::: * Stopping avahi-dnsconfd ... [ ok ] * Stopping avahi-daemon ... [ ok ] * Storing ALSA Mixer Levels ... [ ok ] * Stopping gdm ... [ ok ] * Stopping gpm ... [ ok ] * Stopping Hardware Abstraction Layer daemon ... [ ok ] * Stopping D-BUS system messagebus ... [ ok ] * Stopping acpid ... [ ok ] * Stopping syslog-ng ... [ ok ] * Bringing down interface eth0 /lib64/rc/rc-functions.sh: Zeile 43: 4400 Speicherzugriffsfehler mountinfo --quiet --netdev "$1" /lib64/rc/rc-functions.sh: Zeile 43: 4401 Speicherzugriffsfehler mountinfo --quiet --nonetdev "$1" * Stopping dhcpcd on eth0 ... ====> System hangs
Created attachment 231223 [details] emerge --info
AFAIK there are two things you need to change: 1) Edit /etc/init.d/nfsmount to not run the umount command in stop(). 2) Edit /etc/conf.d/network and set ifdown_eth0="true" so that the default `ifconfig eth0 down' command isn't run. Assigning because we'll ultimately need to document this somewhere[1]. [1] http://www.gentoo.org/doc/en/diskless-howto.xml
(In reply to comment #2) > AFAIK there are two things you need to change: > > 1) Edit /etc/init.d/nfsmount to not run the umount command in stop(). > 2) Edit /etc/conf.d/network and set ifdown_eth0="true" so that the default > `ifconfig eth0 down' command isn't run. > Thanks for the help! The Edit in 1) works good. The Edit in 2) has no effect, the error messages are the same as before: ::: * Bringing down interface eth0 /lib64/rc/rc-functions.sh: Zeile 43: 4400 Speicherzugriffsfehler mountinfo --quiet --netdev "$1" /lib64/rc/rc-functions.sh: Zeile 43: 4401 Speicherzugriffsfehler mountinfo --quiet --nonetdev "$1" * Stopping dhcpcd on eth0 ... ====> System hangs In /etc/conf.d/network are only comments excluding the Edit in 2). I have also tested and created an empty File /etc/ifdown.eth0 but with the same result.