]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tasks/ceph: restore context of osd mount path before mkfs
authorKefu Chai <kchai@redhat.com>
Fri, 9 Dec 2016 18:36:52 +0000 (02:36 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 14 Dec 2016 11:15:16 +0000 (19:15 +0800)
commit53225d5272a1d35d4183fcfa55a139f55f77e122
tree10b849bbdf7fe789662b82a902e2e25b65c7cdb8
parent857dfee93276081e0156e7959a6af997975335cf
tasks/ceph: restore context of osd mount path before mkfs

all newly created files and directories under the mount dir inherit the
SELinux type of their parent directory. so we need to set it before
mkfs.

Fixes: http://tracker.ceph.com/issues/16800
Signed-off-by: Kefu Chai <kchai@redhat.com>
tasks/ceph.py