Bug 7719 - halt script shuts down RAID dirty
halt script shuts down RAID dirty
Status: CLOSED DUPLICATE of bug 7681
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.1
All Linux
medium Severity high
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-12-09 20:09 EST by zbeckman
Modified: 2014-03-16 22:11 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-12-13 11:13:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description zbeckman 1999-12-09 20:09:22 EST
Aigh! The 6.1 release (and RPM update) both have this bug. I hate someone.
Please open /etc/rc.d/init.d/halt and look at this logic:

... stuff ...
# Unmount file systems...
... more stuff ...
runcmd "Unmounting proc file system" umount /proc
... eh? ...
# turn off raid
if [ -x /sbin/raidstop -a -f /etc/raidtab ]; then
    # we can not use raidstop -a here because this will only stop
    # devices listed in the default config file which is not always
    # the case. So we look only for the active raid devices
    if [ -f /proc/mdstat ] ; then
        mddevs=$(grep ^md /proc/mdstat | awk '{ print $1 }')
... EH???! ...

This can, of course, be fixed by moving the umount /proc to AFTER examining
and shutting down RAID devices. Works for me.

zbeckman@creativesun.com
Comment 1 Bill Nottingham 1999-12-13 11:13:59 EST
*** This bug has been marked as a duplicate of 7681 ***

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