Project

General

Profile

Actions

Bug #14402

closed

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

Added by Ken Dreyer over 8 years ago. Updated about 8 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 2 (0 open2 closed)

Has duplicate devops - Bug #14851: RPM: Missing dependency "redhat-lsb-core"Duplicate02/23/2016

Actions
Copied to devops - Backport #14861: hammer: ceph init script unconditionally sources /lib/lsb/init-functionsResolvedNathan CutlerActions
Actions #1

Updated by Nathan Cutler about 8 years ago

  • Status changed from New to Pending Backport
  • Source changed from other to Development
Actions #2

Updated by Nathan Cutler about 8 years ago

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

Updated by Nathan Cutler about 8 years ago

  • Has duplicate Bug #14851: RPM: Missing dependency "redhat-lsb-core" added
Actions #4

Updated by Loïc Dachary about 8 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF