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

Also available in: Atom PDF