summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Watkins <daniel.watkins@canonical.com>2016-10-07 11:33:48 +0100
committerScott Moser <smoser@brickies.net>2016-10-07 12:28:07 -0400
commit6e45ffb21e9622780585b4fe15890f009ca8fa71 (patch)
treefdf8e1170ba31a6f0bcc961e40289e2c7ad90687
parent94fd35eeb3f53bc82fb9ddcad60c1e605890fd53 (diff)
downloadvyos-cloud-init-6e45ffb21e9622780585b4fe15890f009ca8fa71.tar.gz
vyos-cloud-init-6e45ffb21e9622780585b4fe15890f009ca8fa71.zip
systemd: Run cloud-init.service Before dbus.socket not dbus.target
The change reported to fix bug 1629797 was incorrect. It added: Before=dbus.target and its commit message referenced dbus.service. dbus.target does not exist, and dbus.service would not solve the problem. The change did not fix the problem nor actually make any difference. The fix here is just to use Before=dbus.socket. LP: #1629797
-rw-r--r--systemd/cloud-init.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service
index bbddb2da..5c71b213 100644
--- a/systemd/cloud-init.service
+++ b/systemd/cloud-init.service
@@ -9,7 +9,7 @@ After=cloud-init-local.service
After=networking.service
Requires=networking.service
Before=basic.target
-Before=dbus.target
+Before=dbus.socket
Before=network-online.target
Before=sshd-keygen.service
Before=sshd.service