Skip to content

Commit d201c87

Browse files
committed
fix: cyclic depedency
rollback to have dependency on update of /var or /etc and After=systemd-update-done as its breaking the boot cycle. Signed-off-by: saypaul <saypaul@redhat.com>
1 parent 91141b0 commit d201c87

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

usr/lib/systemd/system/greenboot-rollback.service

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
[Unit]
22
Description=Greenboot Rollback Mechanism
3-
After=systemd-update-done.service greenboot-healthcheck.service
3+
After=greenboot-healthcheck.service
4+
Before=systemd-update-done.service
45
OnFailureJobMode=fail
5-
Requisite=systemd-update-done.service
6+
ConditionNeedsUpdate=|/etc
7+
ConditionNeedsUpdate=|/var
68

79
[Service]
810
Type=oneshot

0 commit comments

Comments
 (0)