Project

General

Profile

Actions

Bug #14851

closed

RPM: Missing dependency "redhat-lsb-core"

Added by Martin Palma about 8 years ago. Updated about 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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

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

Related issues 1 (0 open1 closed)

Is duplicate of devops - Bug #14402: ceph init script unconditionally sources /lib/lsb/init-functionsResolved01/18/2016

Actions
Actions #1

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

Actions #2

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
Actions #3

Updated by Ken Dreyer about 8 years ago

  • Status changed from New to Duplicate

Dup of #14402

Actions #4

Updated by Nathan Cutler about 8 years ago

  • Project changed from Ceph to devops
Actions #5

Updated by Nathan Cutler about 8 years ago

  • Is duplicate of Bug #14402: ceph init script unconditionally sources /lib/lsb/init-functions added
Actions

Also available in: Atom PDF