Skip to content

Commit

Permalink
Merge pull request #4944 from jmarrero/unit-fix
Browse files Browse the repository at this point in the history
rpm-ostree-fix-shadow-mode.service: don't run if OS is not installed
  • Loading branch information
jmarrero committed May 5, 2024
2 parents 22bf04d + 82cfc54 commit 37c6192
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/daemon/rpm-ostree-fix-shadow-mode.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ 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
# Filter out non-traditional ostree setups (e.g. live boots)
ConditionKernelCommandLine=ostree
# Because we read the sysroot
RequiresMountsFor=/boot
# Make sure this is started before any unprivileged (interactive) user has access to the system.
Expand Down

0 comments on commit 37c6192

Please sign in to comment.