commit 9fd5c1843d9dbc0913909a90557f1b3a258229d0 Author: Jackie Huang Date: Tue Sep 29 15:29:36 2020 +0800 ceph-manager: fix the path for init script sm looks for init script ceph-manager in /etc/init.d instead of /etc/rc.d/init.d, so fix the path will fix the following error: ERROR: sm[78078]: sm_service_action.c(707): Service (ceph-manager) plugin (/etc/init.d/ceph-manager) access failed, error=No such file or directory. Partial-Bug: 1897685 Change-Id: I47b7ffd059960722d72ee68a24d9a2ed0c985989 Signed-off-by: Jackie Huang diff --git a/meta-stx-flock/stx-utilities/ceph-manager.bb b/meta-stx-flock/stx-utilities/ceph-manager.bb index 0e57e19..73636fa 100644 --- a/meta-stx-flock/stx-utilities/ceph-manager.bb +++ b/meta-stx-flock/stx-utilities/ceph-manager.bb @@ -37,12 +37,12 @@ do_restore_files() { do_install_append() { install -d -m0755 ${D}/${bindir} - install -d -m0755 ${D}/${sysconfdir}/rc.d/init.d + install -d -m0755 ${D}/${sysconfdir}/init.d install -d -m0755 ${D}/${sysconfdir}/logrotate.d install -d -m0755 ${D}/${systemd_system_unitdir} install -p -m0700 ${S}/ceph/ceph-manager/scripts/bin/ceph-manager ${D}/${bindir} - install -p -m0700 ${S}/ceph/ceph-manager/scripts/init.d/ceph-manager ${D}/${sysconfdir}/rc.d/init.d + install -p -m0700 ${S}/ceph/ceph-manager/scripts/init.d/ceph-manager ${D}/${sysconfdir}/init.d install -p -m0700 ${S}/ceph/ceph-manager/files/ceph-manager.logrotate ${D}/${sysconfdir}/logrotate.d install -p -m0700 ${S}/ceph/ceph-manager/files/ceph-manager.service ${D}/${systemd_system_unitdir} }