]> git.apps.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)
committerXiubo Li <xiubli@redhat.com>
Mon, 23 Nov 2020 06:07:07 +0000 (14:07 +0800)
commit73a48dfe8ed165cb6c8295a88f133acb30e7065e
tree7e1472a76f56cad0c9b84d8647680dbe8e7c0abc
parentcf18f7e9cd5f5a95a0d70ef6fd10ab0ae36ee577
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>
PendingReleaseNotes
src/ceph_fuse.cc
src/global/global_init.cc
src/tools/rbd_nbd/rbd-nbd.cc