Bug 444483

Summary: Custom partition tool should not mangle partition names it's not formatting
Product: [Fedora] Fedora Reporter: Behdad Esfahbod <behdad>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
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-04-29 03:34:04 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:

Description Behdad Esfahbod 2008-04-28 16:30:44 UTC
I tried to install F9 Preview on my home machine on a spare partition, keeping
the old Fedora install intact.  The Preview install crashed after partitioning
as I already reported, but I can't boot my old install now either because, well,
the  partitioning tool has relabeled the root partition of my old installation.

It should not relabel partitions its not formatting.  Or better, have a text box
letting user change label if needed.  Only if the label is empty, fill it in
with the mount point.

Comment 1 Jeremy Katz 2008-04-29 03:11:23 UTC
We shouldn't be changing labels except on partitions that are being used -- are
you sure that the label got changed and there's not something else afoot?

Comment 2 Behdad Esfahbod 2008-04-29 03:20:56 UTC
(In reply to comment #1)
> We shouldn't be changing labels except on partitions that are being used -- are
> you sure that the label got changed and there's not something else afoot?

Humm, checking the labels now, you are right.  Still would be good to somehow
"fix" this.  For example by not relabeling if there already is a label.

Here's the scenario that breaks currently:

  - I install F8 on sda1, mounting sda2 as /misc/f9
  - Then install F9 on sda2.  It relabels sda2 to "/1" (because "/" is taken by
sda1)
  - Booting F8 now doesn't work because it fails to find partition labeled
"/misc/f9".

Comment 3 Jeremy Katz 2008-04-29 03:34:04 UTC
We're reformatting -- if you're using UUIDs (as new installs will), then the
UUID will be different.  And what if you delete/merge partitions?

There really isn't a "fix" that's sane to do here.  Especially once you consider
that this is way off into the land of corner cases -- most users aren't doing
multiple different Linux installs on the same box like this and especially not
hand-editing their fstab, etc.

Comment 4 Behdad Esfahbod 2008-04-29 04:22:35 UTC
I'm not hand-editing fstab.  I just want to be able to install multiple versions
of Fedora side by side and have it work.  That simple.