]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephadm: only make_log_dir for ceph daemons
authorSage Weil <sage@newdream.net>
Mon, 15 Nov 2021 15:43:32 +0000 (10:43 -0500)
committerSage Weil <sage@newdream.net>
Mon, 15 Nov 2021 15:48:01 +0000 (10:48 -0500)
commit393960c164bf84b21ffee6af65c19d968b416fb2
tree0e939645c45bbf9b68a8d901cdb85e87a33df4d1
parent785edd08a00c359397e69e808350874886c3908c
cephadm: only make_log_dir for ceph daemons

For non-ceph daemons, (1) they don't log to /var/log/ceph, and (2) the
container image isn't a ceph image, which means the uid/gid extraction
won't have the correct uid/gid and we'll end up with a log directory that
ceph daemons no longer have write permissions for.

Fixes: https://tracker.ceph.com/issues/53257
Signed-off-by: Sage Weil <sage@newdream.net>
src/cephadm/cephadm