Bug 100556 - RFE: Fix NFS root
RFE: Fix NFS root
Product: Red Hat Linux Beta
Classification: Retired
Component: initscripts (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
: FutureFeature
Depends On:
Blocks: CambridgeTarget
  Show dependency treegraph
Reported: 2003-07-23 08:29 EDT by Alan Cox
Modified: 2014-03-16 22:37 EDT (History)
3 users (show)

See Also:
Fixed In Version: 7.31-1
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-09-03 19:49:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch to halt and killall init scripts for clean shutdown of netbooted Linux (2.12 KB, patch)
2003-08-06 11:03 EDT, Julian Blake
no flags Details | Diff

  None (edit)
Description Alan Cox 2003-07-23 08:29:39 EDT
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 

+if [ "${ROOTNFS}" = "yes" ]; then
+      exit 0
if [ "${NETWORKING_IPV6}" = "yes" ]; then
    /etc/sysconfig/network-scripts/ifdown-ipv6 ${CONFIG}

and set ROOT_NFS in the config for the interface. I guess grep could automate
that bit too elsewhere but that is another issue
Comment 1 Julian Blake 2003-08-06 11:03:49 EDT
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.
Comment 2 Julian Blake 2003-08-06 11:13:15 EDT
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


Julian Blake.
Comment 3 Bill Nottingham 2003-09-03 19:49:42 EDT
Patches to halt/killall will be in 7.31-1 and later.

Note You need to log in before you can comment on or make changes to this bug.