Bug 6300

Summary: / is not remounted readonly while shutdowning if quotas are active on it
Product: [Retired] Red Hat Linux Reporter: Olivier Benghozi <olivier.benghozi+redhatbugzilla>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-10-25 17:16:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Olivier Benghozi 1999-10-24 08:47:46 UTC
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 17:16:59 UTC
Fixed in initscripts-4.58, will be in next Raw Hide release.