Bug #14851
closedRPM: Missing dependency "redhat-lsb-core"
0%
Description
It seems that the ceph-common RPM package is missing the redhat-lsb-core dependency?
I tried to deploy a new cluster with ceph-deploy
and got after executing the command ceph-deploy mon create-initial
the following error:
/etc/init.d/ceph: line 15: /lib/lsb/init-functions: No such file or directory
After manually installing redhat-lsb-core on the monitor node the ceph-deploy command run successfully.
Tested for Ceph 0.95.6 on CentOS Linux 7.1.1503 Core with ceph-deploy version 1.5.31. Attached is the ceph-deploy log.
Files
Updated by Martin Palma about 8 years ago
By comparing the two version 0.94.5 with 0.94.6 on Github we can see that the dependency of redhat-lsb-core was removed from ceph.spec.in
for ceph-common
package.
See direct link: https://github.com/ceph/ceph/compare/v0.94.5...v0.94.6#diff-ca40628478ff1274b73dcd40c384e7f0L129
Updated by Martin Palma about 8 years ago
I further hunted it down to the following commit: https://github.com/ceph/ceph/commit/f972f38445bc7a6efe122a5f9fc2ba7658625e26
It seems that in init-ceph.in
line 15 should also be surrounded an if statement:
if [ -e /lib/lsb/init-functions ]; then . /lib/lsb/init-functions fi
Updated by Nathan Cutler about 8 years ago
- Is duplicate of Bug #14402: ceph init script unconditionally sources /lib/lsb/init-functions added