overlay: Bind ostree-prepare-root.service to ignition-complete.target#207
Closed
cgwalters wants to merge 1 commit intocoreos:testing-develfrom
Closed
overlay: Bind ostree-prepare-root.service to ignition-complete.target#207cgwalters wants to merge 1 commit intocoreos:testing-develfrom
cgwalters wants to merge 1 commit intocoreos:testing-develfrom
Conversation
This unit comes from ostree upstream, but forms part of our Ignition sequence. Make it required by ignition-complete.target so that if it fails we get the same OnFailure= behavior. Making this change as during development `ignition-ostree-mount-sysroot.service` wasn't running which caused this unit to fail; the root cause would have been a bit more obvious with this change.
Member
|
Not totally against, though Hmm actually, diff --git a/src/boot/ostree-prepare-root.service b/src/boot/ostree-prepare-root.service
index 63357581..1017c2fd 100644
--- a/src/boot/ostree-prepare-root.service
+++ b/src/boot/ostree-prepare-root.service
@@ -22,6 +22,7 @@ DefaultDependencies=no
ConditionKernelCommandLine=ostree
ConditionPathExists=/etc/initrd-release
OnFailure=emergency.target
+OnFailureJobMode=isolate
After=sysroot.mount
Before=initrd-root-fs.target
|
Member
Author
|
Yep, you're totally right. Will do. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This unit comes from ostree upstream, but forms part of our
Ignition sequence. Make it required by ignition-complete.target
so that if it fails we get the same OnFailure= behavior.
Making this change as during development
ignition-ostree-mount-sysroot.servicewasn't running which caused this unit to fail; the root cause would have been
a bit more obvious with this change.