Red Hat Bugzilla – Bug 496529
anaconda crash with swap file in fstab
Last modified: 2009-07-17 12:47:21 EDT
The following was filed automatically by anaconda:
anaconda 126.96.36.199 exception report
Traceback (most recent call first):
File "/usr/lib/anaconda/storage/formats/__init__.py", line 284, in setup
raise FormatSetupError("invalid device specification")
File "/usr/lib/anaconda/storage/formats/swap.py", line 118, in setup
DeviceFormat.setup(self, *args, **kwargs)
File "/usr/lib/anaconda/storage/__init__.py", line 1427, in turnOnSwap
File "/usr/lib/anaconda/upgrade.py", line 313, in upgradeMountFilesystems
File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
File "/usr/lib/anaconda/gui.py", line 1323, in nextClicked
FormatSetupError: invalid device specification
Created attachment 340267 [details]
Attached traceback automatically from anaconda.
Created attachment 340268 [details]
fstab from affected system
fstab from affected system.
I've already had to edit the fstab to get this far, since I had some rbind lines in there that anaconda was also choking on.
I don't think it matters here but I'm doing something a bit unusual in that I'm upgrading a server machine remotely using the rawhide boot.iso. I've exported the server disk using nbd and created a kvm guest with the nbd as sda. The main reason I'm doing this is because anaconda just didn't grok the md raid setup I had (udevsettle kept hanging for no obvious reason at the filesystem searching stage).
Both bind mounts and swap files should get mounted correctly as of anaconda-188.8.131.52-1, which was built today and should be in rawhide in a day or two.
Martin: Are you able to verify that the reported issue has been resolved with the latest anaconda? The process for downloading and installing rawhide directly is available at https://fedoraproject.org/wiki/Releases/Rawhide#Direct_Rawhide_install.
I've already upgraded this system by commenting the fstab entries out during the upgrade. In fact all my systems are now on F11 pre-release so I've got nothing left to upgrade.
*** Bug 501332 has been marked as a duplicate of this bug. ***
*** Bug 503830 has been marked as a duplicate of this bug. ***
It's not working. See Bug 503830.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
Ok -- one bug report per bug. If your swap file exists, then this is your bug. It has been resolved in anaconda-12.0-1.
If your bug involves an invalid swap line causing an anaconda crash, your bug is 503830. I have proposed a patch to resolve that issue and will update that bug accordingly when something changes.