Bug 493266

Summary: Anaconda fails on fstab with bind mount
Product: [Fedora] Fedora Reporter: Andrew Bartlett <abartlet>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: 18niceboy18, anaconda-maint-list, braden, bruce, grezes, panathcypan, pjones, rmaximo, tgutwin, vanmeeuwen+fedora, yez
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: anaconda_trace_hash:8c499aaa131ab96599592df4beb64a95a9f4eb687020555579e862da001a2925
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-29 14:01:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda.
none
Attached traceback automatically from anaconda. none

Description Andrew Bartlett 2009-04-01 07:43:38 UTC
The following was filed automatically by anaconda:
anaconda 11.5.0.38 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/__init__.py", line 1346, in parseFSTab
    raise Exception("fstab entry %s is malformed: %s" % (devspec, e))
  File "/usr/lib/anaconda/storage/__init__.py", line 958, in mountExistingSystem
    fsset.parseFSTab(chroot=rootPath)
  File "/usr/lib/anaconda/upgrade.py", line 236, in upgradeMountFilesystems
    allowDirty = 0)
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked
    self.anaconda.dispatch.gotoNext()
Exception: fstab entry /scratch/kvm is malformed: get_containing_device() takes exactly 2 arguments (1 given)

Comment 1 Andrew Bartlett 2009-04-01 07:43:49 UTC
Created attachment 337460 [details]
Attached traceback automatically from anaconda.

Comment 2 Chris Lumens 2009-04-01 14:34:00 UTC
Thanks for the bug report.  This will be fixed in the next build of anaconda.

Comment 3 Chris Lumens 2009-04-01 14:46:13 UTC
That wasn't the resolution I wanted.

Comment 4 Braden McDaniel 2009-04-03 10:10:03 UTC
Created attachment 338011 [details]
Attached traceback automatically from anaconda.

Comment 5 Tom Gutwin 2009-04-06 03:37:31 UTC
Created attachment 338280 [details]
Attached traceback automatically from anaconda.

Comment 6 panathcypan 2009-04-14 15:56:22 UTC
Created attachment 339518 [details]
Attached traceback automatically from anaconda.

Comment 7 Edwin Schepers 2009-04-15 20:00:05 UTC
Created attachment 339737 [details]
Attached traceback automatically from anaconda.

Comment 8 Bruce Luckcuck 2009-04-25 14:40:27 UTC
Created attachment 341318 [details]
Attached traceback automatically from anaconda.

Comment 9 Braden McDaniel 2009-04-29 05:50:48 UTC
This is not fixed.  I've encountered the same problem with F11 Preview.

Comment 10 Chris Lumens 2009-04-29 14:01:29 UTC
This was fixed in anaconda-11.5.0.48 which unfortunately was not included in the preview release.

Comment 11 Bruce Luckcuck 2009-04-29 18:25:55 UTC
In my case the failure was apparently caused by an entry in fstab that was part of VMWare tools:

In /etc/fstab:

# Beginning of the block added by the VMware software
.host:/                 /mnt/hgfs               vmhgfs  defaults,ttl=5     0 0
# End of the block added by the VMware software

Simply commenting out the ".host:/" line allowed the FC11beta to install without problems and upgrade my FC10 (virtual) instance.

Comment 12 18niceboy18 2009-06-20 10:58:28 UTC
Created attachment 348741 [details]
Attached traceback automatically from anaconda.

Comment 13 Gerald Rezes 2009-08-27 16:38:43 UTC
Created attachment 358909 [details]
Attached traceback automatically from anaconda.