From 26c1cf9eeeb39e9bfcc1a37743679e5c76ab97b0 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Thu, 11 Sep 2014 10:50:04 -0400 Subject: cloud-init-local depends on /run. reflect that in upstart job. With the writing of cloud-init status, cloud-init-local needs to have /run mounted. The issue we were seeing was a race where: cloud-init-local creates /run/cloud-init /run is mounted cloud-init-local tries to link a file into /run/cloud-init that directory was no longer visisable as /run was mounted over the top. LP: #1353008 --- upstart/cloud-init-local.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'upstart/cloud-init-local.conf') diff --git a/upstart/cloud-init-local.conf b/upstart/cloud-init-local.conf index 061fe406..713b36d9 100644 --- a/upstart/cloud-init-local.conf +++ b/upstart/cloud-init-local.conf @@ -1,6 +1,6 @@ # cloud-init - the initial cloud-init job # crawls metadata service, emits cloud-config -start on mounted MOUNTPOINT=/ +start on mounted MOUNTPOINT=/ and mounted MOUNTPOINT=/run task -- cgit v1.2.3