From 2fce003f8d003dd0fa249f2c92dbe72717c4d6c3 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 17 Dec 2025 17:28:11 +0100 Subject: [PATCH] systemd services: fix installing ceph-volume@ The ceph-volume@ service uses the @CMAKE_INSTALL_PREFIX@, so we cannot just install it directly like the target units, but need to process it like all other units that are referring to actual executables that reside in build-target dependent paths. Fixes: 68c72c5dff5 ("systemd: use CMake install prefix in templates") Reported-by: Daniel Herzig Reported-by: Aaron Lauterer Signed-off-by: Thomas Lamprecht --- systemd/CMakeLists.txt | 2 +- systemd/{ceph-volume@.service => ceph-volume@.service.in} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename systemd/{ceph-volume@.service => ceph-volume@.service.in} (100%) diff --git a/systemd/CMakeLists.txt b/systemd/CMakeLists.txt index 366bab4195d..072730142be 100644 --- a/systemd/CMakeLists.txt +++ b/systemd/CMakeLists.txt @@ -22,6 +22,7 @@ foreach(service ceph-osd@ ceph-radosgw@ ceph-rbd-mirror@ + ceph-volume@ ceph-immutable-object-cache@ cephfs-mirror@ rbdmap) @@ -44,6 +45,5 @@ install(FILES ceph-radosgw.target ceph-rbd-mirror.target ceph-immutable-object-cache.target - ceph-volume@.service cephfs-mirror.target DESTINATION ${SYSTEMD_SYSTEM_UNIT_DIR}) diff --git a/systemd/ceph-volume@.service b/systemd/ceph-volume@.service.in similarity index 100% rename from systemd/ceph-volume@.service rename to systemd/ceph-volume@.service.in -- 2.47.3