From 94fd35eeb3f53bc82fb9ddcad60c1e605890fd53 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 4 Oct 2016 16:40:12 -0400 Subject: systemd: run cloud-init.service Before dbus.service This is the best work around we have for an issue seen when dns is used during cloud-init.service on a system that is configured in nsswitch to use systemd-resolved. The problem is that cloud-init.service was blocking basic.target, and dbus would not be available until after cloud-init.service finished. LP: #1629797 --- systemd/cloud-init.service | 1 + 1 file changed, 1 insertion(+) (limited to 'systemd') diff --git a/systemd/cloud-init.service b/systemd/cloud-init.service index 1e392a39..bbddb2da 100644 --- a/systemd/cloud-init.service +++ b/systemd/cloud-init.service @@ -9,6 +9,7 @@ After=cloud-init-local.service After=networking.service Requires=networking.service Before=basic.target +Before=dbus.target Before=network-online.target Before=sshd-keygen.service Before=sshd.service -- cgit v1.2.3