]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
global/global_init: expand metavariables in setuser_match_path 8433/head
authorSage Weil <sage@redhat.com>
Mon, 4 Apr 2016 21:14:33 +0000 (17:14 -0400)
committerSage Weil <sage@redhat.com>
Mon, 4 Apr 2016 21:14:33 +0000 (17:14 -0400)
commit82312088289efd2eea3bdb537a4d8dbd9ad98881
tree3159ade8849ff62a0ea4f899867a473d59a284ae
parent0f81ac5d874456f301b154ddce0fa6f02801e2ad
global/global_init: expand metavariables in setuser_match_path

Back in 8290536d7d373ea6dddd8cdb55ac71e42b5278e2 we moved the
apply_changse (and, indirectly, config var expansion) to happen
after set do the drop privileges, but we need the metavar
expansion for setuser_match_path (which docs suggest setting to
/var/lib/ceph/$type/$cluster-$id).

Fixes: http://tracker.ceph.com/issues/15365
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config.h
src/global/global_init.cc