Project

General

Profile

Actions

Bug #18825

closed

Generate ceph-osd-prestart.sh paths in upstart/systemd configs at build time

Added by John Lin about 7 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
build
Target version:
-
% Done:

0%

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

Description

Ceph version 11.2.0

After `make install`, ceph-osd-prestart.sh will be installed in /usr/libexec/ceph. However, both ceph-osd.conf (upstart config) and ceph-osd@.service (systemd config) run /usr/lib/ceph/ceph-osd-prestart.sh as the pre-start script.

Also, debian/rules uses "-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib" to install it in /usr/lib/ceph, but I guess it's only a workaround.

I don't know if ceph_common.sh has similar problems?

Actions #1

Updated by Kefu Chai about 7 years ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Kefu Chai about 7 years ago

  • Subject changed from ceph-osd-prestart.sh should be in /usr/lib/ceph instead of in /usr/libexec/ceph to Generate ceph-osd-prestart.sh paths in upstart/systemd configs at build time
Actions #4

Updated by Sage Weil almost 3 years ago

  • Status changed from Fix Under Review to Closed
Actions

Also available in: Atom PDF