]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: Restore SELinux context 23295/head
authorBoris Ranto <branto@redhat.com>
Tue, 10 Jul 2018 20:52:38 +0000 (22:52 +0200)
committerBoris Ranto <branto@redhat.com>
Fri, 27 Jul 2018 22:55:14 +0000 (00:55 +0200)
commitb84f6ae6e35a8bd463788c36e8b629f0cbd6c998
tree13ad2cd31d5188407bf8bdbc63d727b68137d93d
parent079d2bb66a8ebae1df75b93789619ec2a93cba2f
ceph-volume: Restore SELinux context

We need to reset the root context of the file system after mounting it.
Otherwise, the SELinux policy rules will not be preserved.

Fixes: https://tracker.ceph.com/issues/24785
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 61dbf4ac2af7d1e9da927bbc4006c9fbccb55478)
src/ceph-volume/ceph_volume/util/prepare.py
src/ceph-volume/ceph_volume/util/system.py