From dc55f0bb43226259068545c6e13c2921d225ddbe 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 --- 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 c17fcf31b13ed..f363361e1e5e5 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -740,6 +740,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 10a8cb34dc446..1ca1b3b460533 100644 --- a/debian/control +++ b/debian/control @@ -526,7 +526,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.39.5