systemd dependency loop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gce-utils (Ubuntu) |
Expired
|
High
|
Unassigned | ||
Bug Description
while testing cloud-init in -proposed for bug 1629797
I found that the changes to cloud-init create a dependency loop for
google-
I'll attach journalctl output.
I think related is
https:/
The change here seems to me to resolve the issue, and should be safe with new or older cloud-init as cloud-init.target is present everywhere.
Summary is that we just drop 'Wants' of cloud-final.
I'm not sure why google-
$ diff -u /lib/systemd/
--- /lib/systemd/
+++ /lib/systemd/
@@ -3,7 +3,7 @@
After=
After=
After=
-Wants=
+Wants=
[Service]
ExecStart=
Related bugs:
* bug 1627436: Startup scripts do not run on 1604 images
for easier reference, the dependency loop info is: service: Found ordering cycle on cloud-final. service/ start service: Found dependency on multi-user. target/ start service: Found dependency on google- startup- scripts. service/ start service: Found dependency on cloud-final. service/ start service: Breaking ordering cycle by deleting job google- startup- scripts. service/ start startup- scripts. service: Job google- startup- scripts. service/ start deleted to break ordering cycle starting with cloud-final. service/ start
Nov 22 02:43:11.473124 smfoo2 systemd[1]: cloud-final.
Nov 22 02:43:11.473131 smfoo2 systemd[1]: cloud-final.
Nov 22 02:43:11.473138 smfoo2 systemd[1]: cloud-final.
Nov 22 02:43:11.473145 smfoo2 systemd[1]: cloud-final.
Nov 22 02:43:11.473152 smfoo2 systemd[1]: cloud-final.
Nov 22 02:43:11.473159 smfoo2 systemd[1]: google-