Bug #24437

Updated by Nathan Cutler over 4 years ago

Mimic branch at: 6a21295f7f6e7e0363bcfd30d2daf90561ef490c

<pre>../../../lib/libcephd.a( ../../../lib/libcephd.a( In function `cephd_run_rgw':
/home/ddiss/isms/ceph/src/libcephd/ undefined reference to `cephd_rgw'
../../../lib/libcephd.a( In function `cephd_run_rgw_admin':
/home/ddiss/isms/ceph/src/libcephd/ undefined reference to `cephd_rgw_admin'
collect2: error: ld returned 1 exit status
src/test/libcephd/CMakeFiles/ceph_test_cephd_api_misc.dir/build.make:148: recipe for target 'bin/ceph_test_cephd_api_misc' failed
make[2]: *** [bin/ceph_test_cephd_api_misc] Error 1
CMakeFiles/Makefile2:13414: recipe for target 'src/test/libcephd/CMakeFiles/ceph_test_cephd_api_misc.dir/all' failed
make[1]: *** [src/test/libcephd/CMakeFiles/ceph_test_cephd_api_misc.dir/all] Error 2

It seems that this bug isn't present in master, due to the inclusion of:


Author: Dan Mick <>
Date: Tue May 8 19:24:17 2018 -0700

Remove embedded 'cephd' code

... The commit message doesn't shed any light on the reason for this change.

A more minimal fix would be:

<pre>diff diff --git a/src/libcephd/ b/src/libcephd/
index 71b0767f03..7e600bcaeb 100644
--- a/src/libcephd/
+++ b/src/libcephd/
@@ -232,8 +232,10 @@ void cephd_preload_rados_classes(OSD *osd)
extern "C" int cephd_mon(int argc, const char **argv);
extern "C" int cephd_osd(int argc, const char **argv);
extern "C" int cephd_mds(int argc, const char **argv);
extern "C" int cephd_rgw(int argc, const char **argv);
extern "C" int cephd_rgw_admin(int argc, const char **argv);

int cephd_run_mon(int argc, const char **argv)
@@ -250,7 +252,7 @@ int cephd_run_mds(int argc, const char **argv)
return cephd_mds(argc, argv);

int cephd_run_rgw(int argc, const char **argv)
return cephd_rgw(argc, argv);
@@ -260,3 +262,4 @@ int cephd_run_rgw_admin(int argc, const char **argv)
return cephd_rgw_admin(argc, argv);


I'm curious to hear whether others would prefer a mimic backport of 39b2626c7a36b3fef8d97cd276e23dc6f1f197f3 , or the minimal change above.