From: Ilya Dryomov Date: Wed, 7 Apr 2021 09:36:53 +0000 (+0200) Subject: packaging: require ceph-common for immutable object cache daemon X-Git-Tag: v16.2.2~33^2~1^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F40665%2Fhead;p=ceph.git 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) --- 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