Skip to content

systemd: Change ignition-config-delete failure job mode and make OEM mount stricter - #143

Merged
chewi merged 2 commits into
flatcar-masterfrom
chewi/ignition-mounting
Apr 15, 2026
Merged

chewi merged 2 commits into
flatcar-masterfrom
chewi/ignition-mounting

Conversation

@chewi

@chewi chewi commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

systemd itself has not used the isolate job mode for emergency.target since 2013. replace-irreversibly does not proactively stop all the other units, just the ones that would block the new target. This can actually make debugging easier because the system will be in a closer state to the one when the failure occurred. I am making the same change in bootengine to fix an issue.

We only expect a disk-based OEM partition to be btrfs or ext4, so don't rely on the auto type. This is better for security and probably a smidge faster too.

How to use

Just test it boots normally.

Testing done

Jenkins has passed with these changes alongside the other wider changes. I have also done lots of manual testing. These changes are not dependent on the wider changes though.

chewi added 2 commits April 15, 2026 10:17
We only expect a disk-based OEM partition to be btrfs or ext4, so don't
rely on the `auto` type.

Signed-off-by: James Le Cuirot <[email protected]>
systemd itself has not used the isolate job mode for emergency.target
since 2013. replace-irreversibly does not proactively stop all the other
units, just the ones that would block the new target. This can actually
make debugging easier because the system will be in a closer state to
the one when the failure occurred.

The same change has been made in bootengine.

Signed-off-by: James Le Cuirot <[email protected]>
Comment thread systemd/system/oem.mount
@chewi
chewi merged commit 9c940ec into flatcar-master Apr 15, 2026
4 checks passed
@chewi
chewi deleted the chewi/ignition-mounting branch April 15, 2026 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants