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

rpm-ostree-fix-shadow-mode.service: don't run if OS is not installed #4944

Merged
merged 1 commit into from
May 5, 2024

Conversation

jmarrero
Copy link
Member

@jmarrero jmarrero commented May 2, 2024

@@ -7,6 +7,7 @@ Documentation=https://github.com/coreos/rpm-ostree-ghsa-2m76-cwhg-7wv6
# the old /etc/.rpm-ostree-shadow-mode-fixed.stamp
ConditionPathExists=!/etc/.rpm-ostree-shadow-mode-fixed2.stamp
ConditionPathExists=/run/ostree-booted
ConditionKernelCommandLine=ostree
Copy link
Member

Choose a reason for hiding this comment

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

A comment on this would be good. E.g.:

# Filter out non-traditional ostree setups (e.g. live boots)

This is related to the lack of integration between the live CoreOS stuff and ostree (xref: ostreedev/ostree#1921, ostreedev/ostree#1995).

Co-authored-by: Jonathan Lebon <jonathan@jlebon.com>
@jmarrero jmarrero enabled auto-merge May 5, 2024 15:57
@jmarrero jmarrero merged commit 37c6192 into coreos:main May 5, 2024
17 checks passed
HuijingHei added a commit to HuijingHei/coreos-assembler that referenced this pull request Aug 27, 2024
HuijingHei added a commit to HuijingHei/coreos-assembler that referenced this pull request Aug 27, 2024
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.

Failed unit : rpm-ostree-fix-shadow-mode.service
3 participants