Project

General

Profile

Actions

Bug #14906

closed

redhat-lsb-core dependency was dropped, but is still needed

Added by Nathan Cutler about 8 years ago. Updated over 7 years ago.

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

0%

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

Description

The redhat-lsb-core dependency was removed in https://github.com/ceph/ceph/pull/6363 but it appears to still be needed. David Disseldorp reports:

src/common/util.cc calls the lsb_release binary via shell in the collect_sys_info() code path:

133 static void lsb_release_parse(map<string, string> *m, CephContext *cct)
134 {
135   FILE *fp = popen("lsb_release -idrc", "r");

On my test system (which doesn't have lsb-release package installed), this results in:
Feb 24 12:11:41 harrison ceph-osd3287: sh: lsb_release: command not found
Feb 24 12:11:41 harrison ceph-osd3287: 2016-02-24 12:11:41.557873 7fb334a84700 -1 osd.0 583 lsb_release_parse - pclose failed: (0) Success


Related issues 2 (0 open2 closed)

Copied to devops - Backport #14945: infernalis: redhat-lsb-core dependency was dropped, but is still neededRejectedNathan CutlerActions
Copied to devops - Backport #14946: hammer: redhat-lsb-core dependency was dropped, but is still neededResolvedNathan CutlerActions
Actions

Also available in: Atom PDF