integ/ceph/ceph/debian
Dan Voiculeasa 5bcfd552de debian: Fix ceph lsb script
This work is part of Debian integration effort.
This work only affect Debian. We can port this to CentOS without
issues.

This prevents Maintenance check for /etc/services.d/controller/ceph.sh
from successfully completing after unlock, which results in a reboot.

Debian uses /lib/lsb/init-functions vs CentOS /etc/init.d/functions.
init-functions calls hooks from /lib/lsb/init-functions.d/.
One of the hooks redirect the lsb script call to a systemctl call.
Systemctl calls for ceph service don't work on CentOS or Debian.
There is no sourcing of /etc/init.d/functions so we don't need it for
/lib/lsb/init-functions either.

Using the reasoning above drop sourcing of /lib/lsb/init-functions.

Tests on AIO-SX:
CentOS: not affected, skip
Debian:
PASS: live patch controller, unlock, no unwanted reboot initiated by
Maintenance
PASS: build-pkgs, extract contents and check /etc/init.d/ceph

Story: 2009101
Task: 44791
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: I49b79e78b0f832096dca98ca2cfd68c454679b95
2022-03-16 15:42:51 +02:00
..
deb_folder debian: Fix ceph lsb script 2022-03-16 15:42:51 +02:00
patches Add debian package for Ceph 2022-02-11 17:19:41 +00:00
dl_hook Add debian package for Ceph 2022-02-11 17:19:41 +00:00
meta_data.yaml meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00