]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-volume: Restore SELinux context
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 18:27:22 +0000 (20:27 +0200)
commit61dbf4ac2af7d1e9da927bbc4006c9fbccb55478
treed9307e0e65b05c689e554baa68af3d68456653b0
parent591167e0cc8cf80d6a1a7eec0d284f2377004f94
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>
src/ceph-volume/ceph_volume/util/prepare.py
src/ceph-volume/ceph_volume/util/system.py