Bug 473529 - anaconda upgrade fails if swap is a file in /etc/fstab
Summary: anaconda upgrade fails if swap is a file in /etc/fstab
Keywords:
Status: CLOSED DUPLICATE of bug 473260
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 10
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-29 04:20 UTC by Matt Domsch
Modified: 2008-12-02 20:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-02 20:43:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matt Domsch 2008-11-29 04:20:18 UTC
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):
Fedora 10

How reproducible:
always

Steps to Reproduce:
1. have a swap file listed in /etc/fstab
2. preupgrade from F9 to F10
 
Actual results:
traceback and failure

Expected results:
success

Comment 1 Chris Lumens 2008-12-02 15:43:04 UTC
Can you attach your /etc/fstab to this bug report?

Comment 2 Matt Domsch 2008-12-02 15:52:23 UTC
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

Comment 3 Chris Lumens 2008-12-02 17:51:40 UTC
Oh, I forgot to ask for the traceback too, if you still have it available.

Comment 4 Matt Domsch 2008-12-02 18:06:36 UTC
Unfortunately, anaconda at that point won't let me save it.  pdb is available, but saving causes an immediate crash.

Comment 5 Chris Lumens 2008-12-02 20:43:24 UTC

*** This bug has been marked as a duplicate of bug 473260 ***


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