-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd-remount-fs.service fails on f42 disk images with composefs enabled #81
Comments
From the iso install
Changing the disk image to 'ro' fixed the failure on reboot |
There's a systemd generator shipped by bootc that dynamically generates a unit file to fix the It's clear that this is running successfully for systems installed via Anaconda, but it don't understand why it is not running in the raw disk case. Running the generator command manually on a "raw disk system" doesn't seem to do what I expected, which is creating a
Running
|
This is at least the 12th distinct issue on this. Please see also e.g. ostreedev/ostree#3193 (comment)
Because it was explicitly designed to only run in the Anaconda case because I am sympathetic honestly to that team being way under-resourced relative to their importance and trying to change how Anaconda writes /etc/fstab has a relatively high blast radius. There is an outstanding PR that would change this somewhat, see bootc-dev/bootc#1113 Anyone is feel free to join and help there. But the real fix just to reiterate for the 10th time is to switch everything mounting the rootfs to use |
Hmm wait also now that I look this is the composefs-with-ostree case, not actually bootc. It's just that rpm-ostree pulling in bootc caused the generator to be present. What generated this disk image? |
The raw disk image is generated by osbuild/Image Builder in the Fedora infra |
Right. So the Atomic Desktops always use Anaconda to do installs, so don't hit this. I am fine taking a patch to bootc to loosen this requirement: https://github.com/containers/bootc/blob/190085d57e36968cf817f6f00042535d020897b5/lib/src/generator.rs#L11 - it'd be pretty easy. And you're hitting this then because you're not specifically using bootc-image-builder, which is the documented and recommended path for bootc derivatives. But the generic fix here is being tracked on the image builder side down here - see the linked issues from osbuild/bootc-image-builder#756 which would fix using the osbuild-but-not-bootc-image-builder container path. Also bigger picture I am personally backing away from trying to do installs via "dd disk image" flows - it has a lot of problems. Anaconda as well |
Just to complete the picture here too, Fedora CoreOS derivatives never shipped an |
Describe the bug
After enabling composefs in Fedora 42, systemd-remount-fs.service fails.
This only happens on the disk images, installations by anaconda work as expected:
OpenQA:
https://openqa.fedoraproject.org/tests/3275480#step/base_services_start/9
See:
osbuild/osbuild-composer#4593
The text was updated successfully, but these errors were encountered: