File: fix-sysvinit-dependencies.patch

package info (click to toggle)
cloud-init 22.4.2-1%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,936 kB
  • sloc: python: 108,901; sh: 4,091; makefile: 147; xml: 22
file content (53 lines) | stat: -rw-r--r-- 1,798 bytes parent folder | download | duplicates (6)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
From: Debian Cloud Team <debian-cloud@lists.debian.org>
Date: Fri, 8 Feb 2019 14:45:04 +0100
Subject: Fix sysv-init dependencies.

Forwarded: no
Last-Update: 2018-09-17
---
 sysvinit/debian/cloud-config     | 4 ++--
 sysvinit/debian/cloud-final      | 2 +-
 sysvinit/debian/cloud-init-local | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sysvinit/debian/cloud-config b/sysvinit/debian/cloud-config
index 5332274..5e4289f 100644
--- a/sysvinit/debian/cloud-config
+++ b/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
diff --git a/sysvinit/debian/cloud-final b/sysvinit/debian/cloud-final
index 55afc8b..3c98063 100644
--- a/sysvinit/debian/cloud-final
+++ b/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
diff --git a/sysvinit/debian/cloud-init-local b/sysvinit/debian/cloud-init-local
index 802ee8e..e419297 100644
--- a/sysvinit/debian/cloud-init-local
+++ b/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