Project

General

Profile

Bug #14402

ceph init script unconditionally sources /lib/lsb/init-functions

Added by Ken Dreyer almost 7 years ago. Updated almost 7 years ago.

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

0%

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

Description

In Hammer, the ceph init script unconditionally sources the /lib/lsb/init-functions file. This is a problem because the RPM packaging no longer requires the redhat-lsb-core package that contains this file (see #13374). In general, we want to avoid dependencies on redhat-lsb-core.

In master, the init script was updated to skip the init-functions file if it does not exist (https://github.com/ceph/ceph/commit/bb1fa7f3993dfcd1243b2a9a0bb432c269df215f). This change was made as part of a different issue (the OS X port, https://github.com/ceph/ceph/pull/5460).

We need to cherry-pick that commit (bb1fa7f3993dfcd1243b2a9a0bb432c269df215f) to the hammer branch.


Related issues

Duplicated by devops - Bug #14851: RPM: Missing dependency "redhat-lsb-core" Duplicate 02/23/2016
Copied to devops - Backport #14861: hammer: ceph init script unconditionally sources /lib/lsb/init-functions Resolved

History

#1 Updated by Nathan Cutler almost 7 years ago

  • Status changed from New to Pending Backport
  • Source changed from other to Development

#2 Updated by Nathan Cutler almost 7 years ago

  • Copied to Backport #14861: hammer: ceph init script unconditionally sources /lib/lsb/init-functions added

#3 Updated by Nathan Cutler almost 7 years ago

  • Duplicated by Bug #14851: RPM: Missing dependency "redhat-lsb-core" added

#4 Updated by Loïc Dachary almost 7 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF