Bug 470392

Summary: eats fstab entries on upgrade
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: medium    
Version: rawhideCC: anaconda-maint-list, cra, dcantrell, rvokal, tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-11-14 22:59:05 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:
Bug Depends On:    
Bug Blocks: 469046    
Attachments:
Description Flags
old fstab
none
upgraded fstab none

Description Bill Nottingham 2008-11-06 23:09:40 UTC
Description of problem:

When doing a luks upgrade, anaconda rewrites fstab and crypttab. (Since it's using a different device naming paradigm than F9, this is probably a good idea.)

However, in doing so, it removes entries that it's not using in the upgrade.

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

rawhide-20081104

How reproducible:

Every time

Steps to Reproduce:
1. Install F9 using luks
2. Upgrade!

Comment 1 Bill Nottingham 2008-11-06 23:10:26 UTC
Created attachment 322792 [details]
old fstab

Comment 2 Bill Nottingham 2008-11-06 23:10:46 UTC
Created attachment 322793 [details]
upgraded fstab

Comment 3 Chris Lumens 2008-11-10 21:50:32 UTC
It only deleted the NFS entry because it's marked as noauto.  Now to figure out why exactly we were doing that...

Comment 4 Chris Lumens 2008-11-12 15:08:32 UTC
Well it's not at all easy to preserve those entries with the existing partitioning code, however we can at least make a backup of the fstab so you can restore them yourself later.  Committed a patch to do just that.

Comment 5 Tom "spot" Callaway 2008-11-14 22:38:36 UTC
(In reply to comment #4)
> Well it's not at all easy to preserve those entries with the existing
> partitioning code, however we can at least make a backup of the fstab so you
> can restore them yourself later.  Committed a patch to do just that.

Is this fixed in a tagged anaconda?

Comment 6 Jeremy Katz 2008-11-14 22:50:17 UTC
Yes -- 11.4.1.58-1 and later

Comment 7 Tom "spot" Callaway 2008-11-14 22:59:05 UTC
We should be able to close this out then.