Bug 1876261

Summary: Anaconda does not use UUID in fstab for Workstation with btrfs
Product: [Fedora] Fedora Reporter: Erich Eickmeyer <erich>
Component: python-blivetAssignee: Blivet Maintenance Team <blivet-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 33CC: anaconda-maint-list, blivet-maint-list, bugzilla, dlehman, japokorn, jkonecny, jonathan, kellin, mkolman, rvykydal, vanmeeuwen+fedora, vponcova, vtrefny, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-09 06:43:56 UTC Type: Bug
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: 1851166    

Description Erich Eickmeyer 2020-09-06 19:19:42 UTC
Description of problem:
When installing Fedora Workstation 33 using btrfs, Anaconda (or blivet) populates /etc/fstab with the btrfs partition's logical location (/dev/sdxy) as opposed to UUID. This creates problems when Fedora is installed onto an external drive and that drive is moved to a different computer with a different configuration as it renders it unable to boot on that computer. This problem does not exist in my testing on the KDE spin or the Fedora Jam spin.

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

How reproducible:
Every time

Steps to Reproduce:
1. Attempt btrfs installation of Workstation onto external drive.
2. Boot new installation on installation computer.
3. Move external drive to a different computer and attempt to boot.

Actual results:
With /etc/fstab populated with the logical location (/def/sdxy), installation on external drive fails to boot.

Expected results:
Installation on external drive boots without issue.


Additional info:
This should be as simple as populating /etc/fstab with the UUID of the btrfs partition as opposed to the /dev/sdxy of the partition. This issue is only reproducible on Workstation.

Comment 1 Chris Murphy 2020-09-08 23:28:48 UTC
Sounds like a dup of bug 1860602.

Comment 2 Vojtech Trefny 2020-09-09 06:43:56 UTC

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