]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
packaging: require ceph-common for immutable object cache daemon 40666/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 7 Apr 2021 09:36:53 +0000 (11:36 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 8 Apr 2021 10:29:57 +0000 (12:29 +0200)
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 <idryomov@gmail.com>
(cherry picked from commit dc55f0bb43226259068545c6e13c2921d225ddbe)

ceph.spec.in
debian/control

index 6c53f56c78c86d6dfd98b444d9eabbbceb4e65ce..63e381b68865fd406e3a25d8cd1d75f114ef5416 100644 (file)
@@ -702,6 +702,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.
index 02a83c7790a313838b4dd710fcca0b214a058fd9..e33c41a197b757b2d93061c7eb7c664c81eaef5c 100644 (file)
@@ -505,7 +505,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