1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Dominic=20J=C3=A4ger?= <d.jaeger@proxmox.com>
3 Date: Mon, 3 Feb 2020 11:57:22 +0100
4 Subject: [PATCH] Remove failing actions from prerm
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 The first part of the script fails (/sbin/stop doesn't exist and invoke-rc.d
10 fails) and doesn't let us continue to #DEBHELPER#. #DEBHELPER#, however, gets
11 replaced by a systemd call that successfully stops the ceph services.
13 Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
15 debian/ceph-base.prerm | 17 -----------------
16 debian/ceph-mds.prerm | 17 -----------------
17 debian/ceph-mgr.prerm | 17 -----------------
18 debian/ceph-mon.prerm | 17 -----------------
19 debian/ceph-osd.prerm | 17 -----------------
20 5 files changed, 85 deletions(-)
22 diff --git a/debian/ceph-base.prerm b/debian/ceph-base.prerm
23 index bfd7d3d6f..37460790a 100644
24 --- a/debian/ceph-base.prerm
25 +++ b/debian/ceph-base.prerm
34 - [ -x /sbin/stop ] && stop ceph-all || true
35 - invoke-rc.d ceph stop || {
37 - if [ $RESULT != 100 ]; then
50 diff --git a/debian/ceph-mds.prerm b/debian/ceph-mds.prerm
51 index 654518a7d..37460790a 100644
52 --- a/debian/ceph-mds.prerm
53 +++ b/debian/ceph-mds.prerm
62 - [ -x /sbin/stop ] && stop ceph-mds-all || :
63 - invoke-rc.d ceph stop mds || {
65 - if [ $RESULT != 100 ]; then
78 diff --git a/debian/ceph-mgr.prerm b/debian/ceph-mgr.prerm
79 index 6fb7b245a..37460790a 100644
80 --- a/debian/ceph-mgr.prerm
81 +++ b/debian/ceph-mgr.prerm
90 - [ -x /sbin/stop ] && stop ceph-mgr-all || :
91 - invoke-rc.d ceph stop mgr || {
93 - if [ $RESULT != 100 ]; then
106 diff --git a/debian/ceph-mon.prerm b/debian/ceph-mon.prerm
107 index 5f64058a5..37460790a 100644
108 --- a/debian/ceph-mon.prerm
109 +++ b/debian/ceph-mon.prerm
112 # vim: set noet ts=8:
118 - [ -x /sbin/stop ] && stop ceph-mon-all || true
119 - invoke-rc.d ceph stop mon || {
121 - if [ $RESULT != 100 ]; then
134 diff --git a/debian/ceph-osd.prerm b/debian/ceph-osd.prerm
135 index 40f07b621..37460790a 100644
136 --- a/debian/ceph-osd.prerm
137 +++ b/debian/ceph-osd.prerm
140 # vim: set noet ts=8:
146 - [ -x /sbin/stop ] && stop ceph-osd-all || true
147 - invoke-rc.d ceph stop osd || {
149 - if [ $RESULT != 100 ]; then