Red Hat Bugzilla – Bug 62454
Anaconda crashes when trying to mount filesystems in rescue mode
Last modified: 2007-04-18 12:41:30 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020314
Description of problem:
If /etc/fstab has a typo in it like a 0 on a line alone anaconda will crash when
trying to mount filesystems to /mnt/sysimage. Booting into RedHat Linux normally
with this typo causes alot of error messages, but boots normally.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add a zero character on it's own line in /etc/fstab
3. Boot off RedHat Linux 7.2.92 CD1
4. Enter linux rescue at the boot: prompt
5. Select Skip when asked if you want to check the cd
6. Select Continue when asked if you want to mount filesystems to /mnt/sysimage
Actual Results: Anaconda crashs with a traceback
Expected Results: Anaconda to either gracefully abort and refuse to mount the
filesystems or to workaround the typo and continue as it normally work, along
with error messages about a invalid entry in fstab.
I ran into this after I reorganized /etc/fstab to be more readable and added
comments as to what each entry's corrsponding device filename was in comments.
In the process I cut and paste the cdrom entries and produced a line with just a
zero on it.
We will address this issue in a future release.
We should be a lot smarter about handling these in 7.3 and Limbo
verified fixed in latest code.
Time tracking values updated