Skip to content
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

ostree-prepare-root.service: add OnFailureJobMode=isolate #3220

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Mar 21, 2024

This is stronger than the default (replace) because it tells systemd to stop everything and go to emergency.target. In other codebases, this has definitely helped me with the problem of "systemd keeps going even after a failure".

Likely addresses #3219.

See also e.g. coreos/ignition-dracut@3d2e165.

This is stronger than the default (`replace`) because it tells systemd
to *stop everything* and go to `emergency.target`. In other codebases,
this has definitely helped me with the problem of "systemd keeps going
even after a failure".

Likely addresses ostreedev#3219.

See also e.g. coreos/ignition-dracut@3d2e165.
Copy link
Member

@cgwalters cgwalters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually tried this yesterday and it wasn't enough. Spent a bit of time staring at systemd debug logging but couldn't figure it out.

That said, it definitely doesn't hurt so...

@cgwalters cgwalters merged commit 3c25a93 into ostreedev:main Mar 21, 2024
24 checks passed
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