Project

General

Profile

Bug #18825

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

Added by John Lin over 2 years ago. Updated over 2 years ago.

Status:
Need Review
Priority:
Normal
Assignee:
Category:
build
Target version:
-
Start date:
02/06/2017
Due date:
% Done:

0%

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

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?

History

#1 Updated by Kefu Chai over 2 years ago

  • Status changed from New to Need Review

#3 Updated by Kefu Chai over 2 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

Also available in: Atom PDF