Project

General

Profile

Bug #14851

RPM: Missing dependency "redhat-lsb-core"

Added by Martin Palma almost 3 years ago. Updated almost 3 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/23/2016
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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.

ceph-deploy.log View (54.6 KB) Martin Palma, 02/23/2016 08:59 PM


Related issues

Duplicates devops - Bug #14402: ceph init script unconditionally sources /lib/lsb/init-functions Resolved 01/18/2016

History

#1 Updated by Martin Palma almost 3 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

#2 Updated by Martin Palma almost 3 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

#3 Updated by Ken Dreyer almost 3 years ago

  • Status changed from New to Duplicate

Dup of #14402

#4 Updated by Nathan Cutler almost 3 years ago

  • Project changed from Ceph to devops

#5 Updated by Nathan Cutler almost 3 years ago

  • Duplicates Bug #14402: ceph init script unconditionally sources /lib/lsb/init-functions added

Also available in: Atom PDF