[Bug 2067907] Re: systemd tools fail to mount disk images with btrfs filesystems
Timo Aaltonen
2067907 at bugs.launchpad.net
Fri Jul 5 10:16:28 UTC 2024
Hello Daan, or anyone else affected,
Accepted systemd into noble-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/255.4-1ubuntu8.2 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
noble to verification-done-noble. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-noble. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: systemd (Ubuntu Noble)
Status: Triaged => Fix Committed
** Tags added: verification-needed verification-needed-noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2067907
Title:
systemd tools fail to mount disk images with btrfs filesystems
Status in systemd package in Ubuntu:
Fix Committed
Status in systemd source package in Noble:
Fix Committed
Bug description:
SRU Justification
[Impact]
In Ubuntu Noble, systemd-repart fail to mount images with btrfs
filesystems in them. This is because the kernel removed the
"norecovery" mount option which systemd-repart adds in when mounting
filesystems from disk images.
Commit which removed "norecovery" in the kernel:
https://github.com/torvalds/linux/commit/a1912f712188291f9d7d434fba155461f1ebef66.
[Fix]
The issue was worked around upstream in systemd in
https://github.com/systemd/systemd/pull/32892 and
https://github.com/systemd/systemd/pull/32948.
[Test]
To reproduce:
git clone https://github.com/systemd/mkosi
cd mkosi
bin/mkosi -d fedora -t disk --tools-tree=default -f
sudo systemd-repart --image mkosi.output/image.raw
The last command will fail with "Failed to mount image: Invalid argument". After backporting the two systemd commits, the last command will succeed.
[Regression Potential]
Low, the systemd commits only change behavior for btrfs filesystems,
which are currently not working at all. The commits have been
backported to the systemd stable releases and we've had no reports of
any issues caused by backporting these commits.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2067907/+subscriptions
More information about the foundations-bugs
mailing list