fix-sysvinit-dependencies.patch 1.28 KB
Newer Older
Thomas Goirand's avatar
Thomas Goirand committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
Description: Fix sysv-init dependencies.
Forwarded: no
Last-Update: 2018-09-17

--- cloud-init-18.3.orig/sysvinit/debian/cloud-config
+++ cloud-init-18.3/sysvinit/debian/cloud-config
@@ -1,8 +1,8 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          cloud-config
-# Required-Start:    cloud-init cloud-init-local
-# Required-Stop:
+# Required-Start:    $local_fs $remote_fs cloud-init cloud-init-local
+# Required-Stop:     $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Cloud init modules --mode config
--- cloud-init-18.3.orig/sysvinit/debian/cloud-final
+++ cloud-init-18.3/sysvinit/debian/cloud-final
@@ -2,7 +2,7 @@
 ### BEGIN INIT INFO
 # Provides:          cloud-final
 # Required-Start:    $all cloud-config
-# Required-Stop:
+# Required-Stop:     $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Cloud init modules final jobs
--- cloud-init-18.3.orig/sysvinit/debian/cloud-init-local
+++ cloud-init-18.3/sysvinit/debian/cloud-init-local
@@ -2,7 +2,7 @@
 ### BEGIN INIT INFO
 # Provides:          cloud-init-local
 # Required-Start:    $local_fs $remote_fs
-# Required-Stop:
+# Required-Stop:     $local_fs $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Cloud init local