Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 4 product line. The current stable release is 4.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 154765

Summary: Can't add -y to /fsckoptions
Product: Red Hat Enterprise Linux 4 Reporter: Wojciech Palacz <palacz>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DEFERRED QA Contact: Brock Organ <borgan>
Severity: low Docs Contact:
Priority: medium    
Version: 4.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-21 19:50:37 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 Wojciech Palacz 2005-04-14 01:12:25 UTC
Description of problem:
rc.sysinit does not support fully automatic filesystem checking (fsck -y)

Version-Release number of selected component (if applicable):
initscripts-7.93.11.EL-1

How reproducible:
always

Steps to Reproduce:
1. echo "-y" > /fsckoptions
2. reboot
  
Actual results:
after reboot root filesystem check fails due to conflicting switches
given to fsck: fsck -a -y

Expected results:
system should boot up normally, doing filesystem checks with fsck -y
instead of fsck -a

Additional info:
easy workaround is to edit /etc/rc.d/rc.sysedit manually, and replace
all occurences of 'fsck -T -a ...' with 'fsck -T -y ...'

Comment 1 Bill Nottingham 2005-09-21 19:50:37 UTC
Moving this bug to the Fedora Core development stream, so it can be considered
for  upstream development for later RHEL releases. It is unlikely that this
change will be made for RHEL 4.