From 7e606f29f499eac83ecb7053ea6874fcfd092924 Mon Sep 17 00:00:00 2001 From: Boris Ranto Date: Tue, 10 May 2016 18:20:13 +0200 Subject: [PATCH] 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 --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceph.spec.in b/ceph.spec.in index 214fbc6d4407..d85c333bb764 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 -- 2.47.3