Description of problem: On an NFS root system you need to keep the root ethernet interface up always. On my test box I added the following simple extra to /etc/sysconfig/network-scripts/ifdown fi fi +if [ "${ROOTNFS}" = "yes" ]; then + exit 0 +fi + if [ "${NETWORKING_IPV6}" = "yes" ]; then /etc/sysconfig/network-scripts/ifdown-ipv6 ${CONFIG} fi and set ROOT_NFS in the config for the interface. I guess grep could automate that bit too elsewhere but that is another issue
Created attachment 93439 [details] Patch to halt and killall init scripts for clean shutdown of netbooted Linux Modifies halt and killall init scripts to allow a clean shutdown of netbooted Linux. Patch for CERN Linux 7.3.2 (Red Hat Linux 7.3 plus updates). In halt: Do not dismount RAM disks In killall: Do not shutdown network subsystem.
When I set up netbooted CERN Linux 7.3.2 (Red Hat Linux 7.3 plus updates plus OpenAFS plus CERN-specific bug fixes), I modified the halt and killall init scripts to get netbooted Linux to shut down cleanly: /etc/rc.d/init.d/halt: Do not dismount RAM disks. /etc/rc.d/init.d/killall: Do not shut down network subsystem. I have attached a patch to halt and killall to this Bugzilla report. The full halt and killall files can be seen in http://cern.ch/linux/redhat73/documentation/netboot/root/etc/rc.d/init.d/ Julian Blake.
Patches to halt/killall will be in 7.31-1 and later.