Bug 17386 - Filesystems that are remounted read-only during shutdown or reboot are not synced.
Summary: Filesystems that are remounted read-only during shutdown or reboot are not sy...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 6.2
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-09-09 19:28 UTC by Need Real Name
Modified: 2014-03-17 02:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-09-09 19:28:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2000-09-09 19:28:52 UTC
Unmountings of filesystems are done by /etc/rc.d/init.d/halt during
shutdown or reboot.  Some filesystems are not unmounted but remounted
read-only, e.g., the root filesystem.  Unfortunately that does not imply
that the buffers are flushed to disc.

Suggested solution:  Put a sync-command at appropriate place in
/etc/rc.d/init.d/halt.

I have never had any problem with this until I started using raid1 on the
root-filesystem so that might be crucial for this bug to actually cause
problem.

I am unable to reproduce this bug in a certain way.  However, sometimes
changes in files close to a reboot are lost.

Version:  Redhat linux 6.2, i386, initscript-5.00-1.  Other versions or
platforms have not been tested.

Comment 1 Need Real Name 2000-09-09 23:08:31 UTC
After hints from some friends I checked the source code of the kernel and
remount do sync the discs.  If there is a bug here, it is not in the
initscripts.

My unability to reproduce the bug makes me suspect that I have made some
mistake.  At least I don't expect someone to spend time on this until I can
produce a better bug report.  Therefore I classify this as not-a-bug.


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