Bug 2237327 - btrfs flags are missing when using inst.sdboot option.
Summary: btrfs flags are missing when using inst.sdboot option.
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 39
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Jeremy Linton
QA Contact: Fedora Extras Quality Assurance
Whiteboard: AcceptedFreezeException
: 2240102 (view as bug list)
Depends On:
Blocks: F39FinalFreezeException 2233234
TreeView+ depends on / blocked
Reported: 2023-09-04 20:51 UTC by edpil02
Modified: 2023-10-19 04:41 UTC (History)
7 users (show)

Fixed In Version: anaconda-39.32.6-1.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2023-10-19 04:41:20 UTC
Type: ---

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github rhinstaller anaconda pull 5194 0 None open storage: Handle BTRFS with systemd-boot 2023-09-25 17:37:21 UTC

Description edpil02 2023-09-04 20:51:42 UTC
I tried a rawhide install with btrfs and inst.sdboot option.
But reboot failed  because of a systemd  switch-root error.
I've found a error in the loader entry : some btrfs flags are missing.

Adding  rootflags=subvol=root solves the issue.

Reproducible: Always

Comment 1 Jeremy Linton 2023-09-14 03:12:43 UTC
This was noticed by Steve Capper as well, and I have a fix i'm about to PR.

Comment 2 Jeremy Linton 2023-09-14 03:28:32 UTC
There is a PR here: https://github.com/rhinstaller/anaconda/pull/5172

If accepted probably should eventually be backported to f39 (where it works as well).

Comment 3 Jeremy Linton 2023-09-22 14:06:53 UTC
*** Bug 2240102 has been marked as a duplicate of this bug. ***

Comment 4 Adam Williamson 2023-09-22 16:44:06 UTC
Proposing as a Final FE, as anaconda only merges FE/blocker fixes, and this fixes an easily-encountered bug in an F39 Change that cannot be fixed with an update (as it's in the installer).

Comment 5 Adam Williamson 2023-09-25 17:37:21 UTC
Note: the PR for this is now https://github.com/rhinstaller/anaconda/pull/5194 , it was split out of the other one.

Comment 6 Geoffrey Marr 2023-09-25 23:44:53 UTC
Discussed during the 2023-09-25 blocker review meeting: [0]

The decision to classify this bug as an "AcceptedFreezeException (Final)" was made as this is an issue in an F39 Change that cannot be fixed with a post-release update, and the fix is pretty isolated to the systemd-boot code in the installer so can't break anything else.

[0] https://meetbot.fedoraproject.org/fedora-blocker-review/2023-09-25/f39-blocker-review.2023-09-25-16.02.txt

Comment 7 Fedora Update System 2023-10-17 17:27:58 UTC
FEDORA-2023-e8775823be has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e8775823be

Comment 8 Fedora Update System 2023-10-18 02:35:15 UTC
FEDORA-2023-e8775823be has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-e8775823be`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e8775823be

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Lukas Ruzicka 2023-10-18 09:44:17 UTC
When trying to install F39 with inst.sdboot, this update of Anaconda ends up with an error, see https://bugzilla.redhat.com/show_bug.cgi?id=2244794

Comment 10 Fedora Update System 2023-10-19 04:41:20 UTC
FEDORA-2023-e8775823be has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.