summaryrefslogtreecommitdiffstats
path: root/ceph.spec.in
diff options
context:
space:
mode:
authorBoris Ranto <branto@redhat.com>2016-05-10 18:20:13 +0200
committerBoris Ranto <branto@redhat.com>2016-05-10 18:21:50 +0200
commit7e606f29f499eac83ecb7053ea6874fcfd092924 (patch)
tree48d81d6929801c5075cc5978527a3d9491c96824 /ceph.spec.in
parentMerge pull request #8937 from dillaman/wip-15642 (diff)
downloadceph-7e606f29f499eac83ecb7053ea6874fcfd092924.tar.xz
ceph-7e606f29f499eac83ecb7053ea6874fcfd092924.zip
rpm: Drop SELinux priority setting
Older versions of semodule binary that are in Centos/RHEL do not support priority setting, dropping it. Fixes: #15822 Signed-off-by: Boris Ranto <branto@redhat.com>
Diffstat (limited to 'ceph.spec.in')
-rw-r--r--ceph.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index 214fbc6d440..d85c333bb76 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -1416,7 +1416,7 @@ FILE_CONTEXT=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
cp ${FILE_CONTEXT} ${FILE_CONTEXT}.pre
# Install the policy
-/usr/sbin/semodule -X 100 -i %{_datadir}/selinux/packages/ceph.pp
+/usr/sbin/semodule -i %{_datadir}/selinux/packages/ceph.pp
# Load the policy if SELinux is enabled
if ! /usr/sbin/selinuxenabled; then