]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume: Restore SELinux context 23296/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:56:02 +0000 (00:56 +0200)
commit3d6befd8824e80166c0a2875571ef67231984401
treec8327a12397b177389437c8f1dae30e71660bfe3
parent445120030474ce7a706fbd139c43130fbbb8eb6f
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