Skip to content

Commit

Permalink
fix: fix ordering cycle for distros with default deps (#5819)
Browse files Browse the repository at this point in the history
Since After=sysinit.target is a default dependency, a cycle is
introduced when Before=sysinit.target and not DefaultDependencies=no.

Fixes GH-5755
  • Loading branch information
holmanb committed Oct 18, 2024
1 parent 7ff199a commit df51941
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion systemd/cloud-init-main.service.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ Before=sysinit.target
{% endif %}

After=systemd-remount-fs.service
Before=sysinit.target
Before=cloud-init-local.service
Before=shutdown.target
Conflicts=shutdown.target
Expand Down

0 comments on commit df51941

Please sign in to comment.