]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
selinux: Relabel files if and only if the policy version changed
authorBoris Ranto <branto@redhat.com>
Tue, 11 Aug 2015 07:13:01 +0000 (09:13 +0200)
committerBoris Ranto <branto@redhat.com>
Wed, 19 Aug 2015 09:17:13 +0000 (11:17 +0200)
commit9038488bc26665193143bc8d35f9890d1ba07a3b
tree403c0ad6365d52c96e91816bbaa5438c4a5a3e4f
parenta4d5ae2861e5c162690447c9efba18b2a43c73be
selinux: Relabel files if and only if the policy version changed

Currently, the ceph files are being relabelled every time the package is
rebuilt. Fix this by checking the policy versions and relabel the files
only if the policy actually changed (different policy version was
detected).

Signed-off-by: Boris Ranto <branto@redhat.com>
ceph.spec.in