]> git-server-git.apps.pok.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)
committerKefu Chai <tchaikov@gmail.com>
Sat, 3 Feb 2024 14:36:50 +0000 (22:36 +0800)
commit2a30ddccd04b204821f0496856847e8ffc07835d
treebeb1c93a9059df01dda3a86c007353eb3e88aae9
parent4103b566e4b177a2d12932604b1df868022ef5d8
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>
debian/control