Project

General

Profile

Actions

Bug #14687

closed

RPM: no /usr/libexec directory on SUSE

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% 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.


Subtasks 1 (0 open1 closed)

Cleanup #14705: Reinstate ceph-osd@.service.inClosedNathan Cutler02/09/2016

Actions
Actions #1

Updated by Loïc Dachary about 8 years ago

  • Status changed from New to 12
  • Priority changed from Normal to High
Actions #2

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.

Actions #3

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.

Actions #4

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.

Actions #5

Updated by Nathan Cutler about 8 years ago

  • Description updated (diff)
  • Status changed from 12 to In Progress
  • Release set to jewel
Actions #6

Updated by Nathan Cutler about 8 years ago

  • Status changed from In Progress to Fix Under Review
Actions #7

Updated by Nathan Cutler about 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF