Project

General

Profile

Cleanup #14705

Bug #14687: RPM: no /usr/libexec directory on SUSE

Reinstate ceph-osd@.service.in

Added by Nathan Cutler almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
02/09/2016
Due date:
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

On RH and derivatives, %{_libexecdir} expands to /usr/libexec, while on SUSE derivatives it expands to /usr/lib.

This was addressed in https://github.com/ceph/ceph/commit/ac347dc3402a50fa0ba8c04cf2f93c36283eca87 which templated the ceph-osd@.service using autotools.

The crucial line containing the template variable was (inadvertently) removed in https://github.com/ceph/ceph/commit/7c9fdf44f2c18659a0bcc03f7b98dafdf9f54448 and from there it was a logical step to remove the template altogether in https://github.com/ceph/ceph/commit/367c794cb1ab701d6a28bdbaa5f7cd84e16a5e32

However, this breaks SUSE builds, requiring a downstream patch, of which the template was designed to be a more robust replacement.

History

#1 Updated by Nathan Cutler almost 3 years ago

  • Status changed from New to In Progress

#2 Updated by Nathan Cutler almost 3 years ago

  • Status changed from In Progress to Closed

Agreed to put the ceph-osd-prestart.sh script in /usr/lib instead of reinstating the autotools template.

Also available in: Atom PDF