Red Hat Bugzilla – Bug 127347
fsck on root fs exiting with 2 breaks system startup
Last modified: 2014-03-16 22:46:30 EDT
Description of problem:
/etc/rc.d/rc.sysinit treats fsck on root filesystem exiting with
code 2 as error and stops automatic system startup with sulogin.
Version-Release number of selected component (if applicable):
7.53-1 and probably earlier versions
While system is booting when root filesystem needs fsck and then
reboot is required for the kernel to update in-memory filesystem
Steps to Reproduce:
1. Not trivial: umount /
2. Damage root fs data in a way which will cause fsck to return code 2
3. reboot system
*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
and runs sulogin.
System is rebooted automatically, probably after a short pause
allowing watching admin to react somehow. After reboot root
filesystem would be clean and fsck would not be run on it.
*** This bug has been marked as a duplicate of 117641 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.