Red Hat Bugzilla – Bug 473529
anaconda upgrade fails if swap is a file in /etc/fstab
Last modified: 2008-12-02 15:43:24 EST
Description of problem:
Anaconda tracebacks fairly early in the upgrade process (started via preupgrade) if the system's /mnt/sysimage/etc/fstab file contains a swap file (not swap partition). Fails in migrateFilesystems trying to umount /mnt/sysimage and tracebacks.
On my system, I have a swap file /swap.1 instead of a swap partition. This is listed in /etc/fstab.
Removing that line from /etc/fstab and restarting the anaconda upgrade succeeds.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. have a swap file listed in /etc/fstab
2. preupgrade from F9 to F10
traceback and failure
Can you attach your /etc/fstab to this bug report?
This was the failure-inducing fstab.
/dev/md1 / ext3 defaults 1 1
/dev/md0 /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/swap.1 none swap defaults 0 0
Oh, I forgot to ask for the traceback too, if you still have it available.
Unfortunately, anaconda at that point won't let me save it. pdb is available, but saving causes an immediate crash.
*** This bug has been marked as a duplicate of bug 473260 ***