Project

General

Profile

Actions

Bug #5695

closed

Debian packaging fails when removed but not purged

Added by Adam Borowski almost 11 years ago. Updated over 10 years ago.

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

0%

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

Description

You provide your own Debian packaging, which is good because that in Debian itself is stuck at some broken version of 0.48. However, this packaging fails to work when it's in a "removed, config remains" state.

To fix, please add:
test -f /usr/lib/ceph/ceph_common.sh || exit 0
early in /etc/init.d/ceph

You may ask, what is the purpose of removing ceph but keeping its config? I for one got a test cluster on a few machines which have a different usual purpose, and having ceph always running is tedious (for example, osds block boot if they can't reach a monitor in quorum). It also violates a "must" clause of Debian policy, which would get you smacked with a RC bug were you in the official archive. You're technically not bound by the policy, but it's an one-line fix...

Actions #1

Updated by Sage Weil almost 11 years ago

  • Status changed from New to Fix Under Review
  • Priority changed from Normal to High

see wip-5695

Actions #2

Updated by Sage Weil almost 11 years ago

  • Assignee set to Anonymous
Actions #3

Updated by Sage Weil over 10 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF