Bug 39607 - at boot , initscripts always check root partition
at boot , initscripts always check root partition
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-05-08 06:57 EDT by Marius Onica
Modified: 2014-03-16 22:20 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-22 15:45:50 EST
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 /etc/rc.d/rc.sysinit to avoid running fsck on reiserfs partitions (389 bytes, patch)
2001-08-03 12:38 EDT, David Rees
no flags Details | Diff

  None (edit)
Description Marius Onica 2001-05-08 06:57:08 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2 i686)

Description of problem:
if on root partition is a reiserfs filesystem at boot the operating
system always want to check the filesystem

How reproducible:

Steps to Reproduce:

Actual Results:  At this sequence from the rc.sysinit the system always
stops and
asks if I want to perform a fsck 
if [ -z "$fastboot" -a "$ROOTFSTYPE" != "nfs" ]; then
        STRING=$"Checking root filesystem"
        echo $STRING
	initlog -c "fsck -T -a $fsckoptions /"

Additional info:
Comment 1 Bill Nottingham 2001-05-08 11:31:57 EDT
Doesn't the reiserfs fsck Do The Right Thing if it's unmounted cleanly?

Assigning to reiserfs-utils.
Comment 2 Bernhard Rosenkraenzer 2001-05-09 05:45:20 EDT
It doesn't do the right thing because reiserfs fsck is ultimately broken 
(which is one of the reasons we aren't supporting it on root filesystems).

-T isn't implemented at all (will fix), -a is supposed to enter a "do nothing 
mode" (and doesn't work).

Looking into it.
Comment 3 Nikita Danilov 2001-05-14 07:22:09 EDT
ReiserFS doesn't require fsck utility, because it provides meta-data journalling.
/sbin/reiserfsck is to repair fs corrupted due to internal kernel error of disk
IO error,
it's not a substitute for the traditional fsck and requires interaction with user
most of the time. Proper way to fix this is either modify rc scripts or symlink
/sbin/fsck.reiserfs to /bin/true.
Comment 4 fsolari 2001-08-01 19:10:34 EDT
Just as Nikita says, Reiser FS is not to be checked 'automatically' by the 
utility, so it's better to put 0 0 at the 5th and 6th fields in /etc/fstab
for any Reiser Filesystem you have.

Comment 5 David Rees 2001-08-03 12:34:56 EDT
Any chance this fix will be making it into initscripts?

As Nikita said, linking /sbin/fsck.reiserfs to /bin/true is one fix, other other is to fix /etc/rc.sysinit with the patch I will be attaching.
Comment 6 David Rees 2001-08-03 12:38:35 EDT
Created attachment 26092 [details]
Patch to /etc/rc.d/rc.sysinit to avoid running fsck on reiserfs partitions
Comment 7 Bernhard Rosenkraenzer 2001-08-03 12:41:12 EDT
Assigning back to initscripts - I don't think fixing reiserfsck would be such a good 
idea (would break compatibility with everyone else, and doing it right would mean 
rewriting reiserfs ;) )
Comment 8 Bill Nottingham 2001-08-03 14:42:56 EDT
I object to the general idea of reiserfsck being handled differently than other
filesystems. If it's not meant to be run generally, don't put the binary there
with that name.
Comment 9 Bill Nottingham 2005-02-22 15:45:50 EST
Closing out bugs on older, no longer supported releases. Apologies for any lack
of response.

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