Cleanup #14705
closedBug #14687: RPM: no /usr/libexec directory on SUSE
Reinstate ceph-osd@.service.in
0%
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.
Updated by Nathan Cutler about 8 years ago
- Status changed from New to In Progress
jewel PR: https://github.com/ceph/ceph/pull/7636
Updated by Nathan Cutler about 8 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.