Skip to content

Commit

Permalink
rpm: Drop SELinux priority setting
Browse files Browse the repository at this point in the history
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>
(cherry picked from commit 7e606f2)
  • Loading branch information
b-ranto authored and smithfarm committed May 10, 2016
1 parent 1578e8d commit 57fff5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceph.spec.in
Expand Up @@ -1405,7 +1405,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
Expand Down

0 comments on commit 57fff5e

Please sign in to comment.