Bug 143351 - initscripts do not allow to fsck -y
initscripts do not allow to fsck -y
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
: 168979 (view as bug list)
Depends On:
Blocks: FC5Target
  Show dependency treegraph
 
Reported: 2004-12-19 16:16 EST by Need Real Name
Modified: 2014-03-16 22:51 EDT (History)
3 users (show)

See Also:
Fixed In Version: 8.32-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-04-10 18:59:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
Only use -a if $fsckoptions doesn't already specify -y (742 bytes, patch)
2006-02-28 22:11 EST, Miloslav Trmač
no flags Details | Diff

  None (edit)
Description Need Real Name 2004-12-19 16:16:50 EST
initscripts do not allow to automatically check the filesystem 
(option -y of fsck) because -y conflicts with -a
which is set directly in /etc/rc.d/rc.sysinit
I think /etc/rc.d/rc.sysinit should be modified to allow 
-a or -y to be used depending on /etc/sysconfig/autofsck

Currently a remote server can not be booted after an unclean shutdown
because fsck -a often go to manual mode.
fsck -y would not go to manual mode.
Comment 1 Bill Nottingham 2005-10-03 17:43:54 EDT
*** Bug 168979 has been marked as a duplicate of this bug. ***
Comment 2 Miloslav Trmač 2006-02-28 22:11:08 EST
Created attachment 125443 [details]
Only use -a if $fsckoptions doesn't already specify -y

(Note that this won't work for -otheroptionsy, but -yotheroptions is OK)
Comment 3 Miloslav Trmač 2006-04-10 18:59:40 EDT
Fixed in initscripts-8.32-1.  Thanks for your report.

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