Red Hat Bugzilla – Bug 143351
initscripts do not allow to fsck -y
Last modified: 2014-03-16 22:51:19 EDT
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.
*** Bug 168979 has been marked as a duplicate of this bug. ***
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)
Fixed in initscripts-8.32-1. Thanks for your report.