]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
global: reexpand the conf meta in all the child processes
authorXiubo Li <xiubli@redhat.com>
Fri, 13 Nov 2020 08:08:31 +0000 (16:08 +0800)
committerNathan Cutler <ncutler@suse.com>
Fri, 4 Dec 2020 11:21:51 +0000 (12:21 +0100)
commit3feaaee4b68a0581a6fe1da0bdaf71df46f05f54
treef7881c9a9350eaa4d72037a3c2e51326472f65bd
parentbc228daa4f38477957e6c625a9cbe554f6f350ca
global: reexpand the conf meta in all the child processes

Especially for the tools or the daemons whose config options need
to expand the '$pid', they will be always expanded with the parent
processes. We need to reexpand them in child processes just after
the fork is done.

Fixes: https://tracker.ceph.com/issues/48240
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 73a48dfe8ed165cb6c8295a88f133acb30e7065e)

Conflicts:
PendingReleaseNotes
PendingReleaseNotes
src/ceph_fuse.cc
src/global/global_init.cc
src/tools/rbd_nbd/rbd-nbd.cc