From 94a3c972a48db19df56ba2d65e6b86079f11b03d Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Wed, 7 Apr 2021 11:36:53 +0200 Subject: [PATCH] packaging: require ceph-common for immutable object cache daemon This daemon has a systemd service which starts it with --setuser ceph --setgroup ceph. "ceph" user and group are created by ceph-common and won't be there unless ceph-common is installed. Fixes: https://tracker.ceph.com/issues/50207 Signed-off-by: Ilya Dryomov (cherry picked from commit dc55f0bb43226259068545c6e13c2921d225ddbe) --- ceph.spec.in | 1 + debian/control | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 85a5eb6b4549..39935289ab42 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -709,6 +709,7 @@ Summary: Ceph daemon for immutable object cache %if 0%{?suse_version} Group: System/Filesystems %endif +Requires: ceph-base = %{_epoch_prefix}%{version}-%{release} Requires: librados2 = %{_epoch_prefix}%{version}-%{release} %description immutable-object-cache Daemon for immutable object cache. diff --git a/debian/control b/debian/control index 6eee96c2d982..48517f9771da 100644 --- a/debian/control +++ b/debian/control @@ -525,7 +525,8 @@ Description: debugging symbols for rbd-fuse Package: ceph-immutable-object-cache Architecture: linux-any -Depends: librados2 (= ${binary:Version}), +Depends: ceph-common (= ${binary:Version}), + librados2 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}, Description: Ceph daemon for immutable object cache -- 2.47.3