Actions
Bug #14687
closedRPM: no /usr/libexec directory on SUSE
% Done:
100%
Source:
Community (dev)
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
The ceph-osd-prestart.sh script is installed in /usr/libexec/ceph/ and indeed this directory is hard-coded in the file systemd/ceph-osd@.service.
This causes problems on SUSE which does not have a /usr/libexec directory.
Agreed that putting the script in /usr/lib/ceph is the most straightforward fix, since /usr/lib exists everywhere.
Updated by Loïc Dachary about 8 years ago
- Status changed from New to 12
- Priority changed from Normal to High
Updated by Nathan Cutler about 8 years ago
Discussed on ceph-devel mailing list. Consensus seems to be to use sh -c
where possible and, failing that, generate the unit file from an .in template at build time.
Updated by Nathan Cutler about 8 years ago
It seems that the only path that is actually causing trouble now (at least on SUSE) is /usr/libexec.
Updated by Nathan Cutler about 8 years ago
- Subject changed from Hardcoded paths in systemd unit files to RPM: no /usr/libexec directory on SUSE
Changing issue title to reflect narrower scope.
Updated by Nathan Cutler about 8 years ago
- Description updated (diff)
- Status changed from 12 to In Progress
- Release set to jewel
Updated by Nathan Cutler about 8 years ago
- Status changed from In Progress to Fix Under Review
jewel PR: https://github.com/ceph/ceph/pull/7636
Updated by Nathan Cutler about 8 years ago
- Status changed from Fix Under Review to Resolved
Actions