Bug 6300 - / is not remounted readonly while shutdowning if quotas are active on it
/ is not remounted readonly while shutdowning if quotas are active on it
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.1
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-10-24 04:47 EDT by Olivier Benghozi
Modified: 2014-03-16 22:10 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-10-25 13:16:39 EDT
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 Olivier Benghozi 1999-10-24 04:47:46 EDT
Root filesystem / is not remounted readonly before the
effective reboot or shutdown if quotas are active on it,
causing an fsck at each system start.

Normally, /etc/rc.d/init.d/halt contains a
mount -n -o remount,ro /
that seemed to work well in RH6.0, but it seems that now,
quota must be stopped before trying to put / in ro.

Messages are:

mount: / is busy
and then again the same message, caused by "remounting
remaining FS readonly" in the halt script.

So before
mount -n -o remount,ro /
I added a line:
quotaoff -a

It seems to work.
Maybe an initscripts fix should be released, I know of
people that had corrupted datas because of that.
Comment 1 Bill Nottingham 1999-10-25 13:16:59 EDT
Fixed in initscripts-4.58, will be in next Raw Hide release.

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