Bug 520135

Summary: Anaconda failed on F11 pre-upgrade when a device is declared many times in /etc/fstab
Product: [Fedora] Fedora Reporter: Chris A <hugsy+bugz>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 11CC: anaconda-maint-list, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-28 20:38:03 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
anaconda.log none

Description Chris A 2009-08-28 15:17:55 UTC
Description of problem:

When a device is declared more than one time in /etc/fstab, anaconda fails to execute, mentionning that "device is already in tree".

For instance, with a /etc/fstab containing this 

/dev/sdb1  /media/foo  vfat  rw,user,noauto,owner,uid=500,gid=500 0 0
/dev/sdb1  /media/bar  ntfs  rw,user,noauto,owner,uid=500,gid=500 0 0


Even with 'noauto' option, Anaconda could not perform installation, as it failed trying to mount those peripherals. 

Commenting those unncessary lines makes Anaconda succeed performing installation.


Version-Release number of selected component (if applicable):

Experienced on Fedora-11 pre-upgrade installation, on i386 architecture.

How reproducible: 100% when unncessary lines where declared.

Steps to Reproduce:
1. try to pre-upgrade
2. reboot
3. fail
  
Actual results:
GUI says "device is already in tree". 
Debug screen shows that "14:42:26 ERROR   : Error mounting filesystem: device is already in tree"

Expected results:
Installation should continue ...


Additional info: 
Quick 'n dirty fix : comment all unnecesaries entries in /etc/fstab.

Comment 1 Chris A 2009-08-28 15:19:22 UTC
Created attachment 359083 [details]
anaconda.log

Comment 2 Chris Lumens 2009-08-28 20:38:03 UTC

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