]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
debian/control: add adduser to Depends of cephadm and ceph-common
authorKefu Chai <tchaikov@gmail.com>
Wed, 17 Jan 2024 15:09:02 +0000 (23:09 +0800)
committerYuri Weinstein <yweinste@redhat.com>
Wed, 28 Feb 2024 17:55:12 +0000 (17:55 +0000)
commit84f393dbd806bb679bc85d1152c9ec041280565c
tree6c14ee4cec6f82cf713d536cd78d646c635e8bd3
parentbcf22b9044c43f87e3d934110560f63a29514a67
debian/control: add adduser to Depends of cephadm and ceph-common

in `debian/ceph-common.postinst` and `debian/cephadm.postinst`, we
use `adduser --system` to create the system user when configuring
the corresponding package.

before this change, the dependency is not listed in the runtime
`Depends` section of ceph-common and cephadm.

in this change, the dependency is added. this is also suggested
by Securing Debian Manual, see
https://www.debian.org/doc/manuals/securing-debian-manual/bpp-lower-privs.en.html

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
(cherry picked from commit 2a30ddccd04b204821f0496856847e8ffc07835d)
(cherry picked from commit eeaaeeadcdff5fff0732d6f4e89b9d6f7b626c2f)
debian/control