- Fixes for dovecot and saslauthd
This commit is contained in:
parent
4199dc8023
commit
bd7e86c379
@ -5,3 +5,4 @@ serefpolicy-2.0.3.tgz
|
||||
serefpolicy-2.0.4.tgz
|
||||
serefpolicy-2.0.5.tgz
|
||||
serefpolicy-2.0.6.tgz
|
||||
serefpolicy-2.0.7.tgz
|
||||
|
@ -534,7 +534,7 @@ ftp = base
|
||||
#
|
||||
# General Purpose Mouse driver
|
||||
#
|
||||
gpm = off
|
||||
gpm = on
|
||||
|
||||
# Layer: services
|
||||
# Module: mta
|
||||
|
@ -9,8 +9,8 @@
|
||||
%define CHECKPOLICYVER 1.27.17-7
|
||||
Summary: SELinux policy configuration
|
||||
Name: selinux-policy
|
||||
Version: 2.0.6
|
||||
Release: 2
|
||||
Version: 2.0.7
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: System Environment/Base
|
||||
Source: serefpolicy-%{version}.tgz
|
||||
@ -93,11 +93,13 @@ install -m0644 ${RPM_SOURCE_DIR}/setrans-%1.conf ${RPM_BUILD_ROOT}%{_sysconfdir}
|
||||
%config %{_sysconfdir}/selinux/%1/contexts/files/media
|
||||
|
||||
%define saveFileContext() \
|
||||
. %{_sysconfdir}/selinux/config; \
|
||||
FILE_CONTEXT=%{_sysconfdir}/selinux/%1/contexts/files/file_contexts; \
|
||||
if [ "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT} ]; then \
|
||||
cp -f ${FILE_CONTEXT} ${FILE_CONTEXT}.pre; \
|
||||
fi
|
||||
if [ -s /etc/selinux/config ]; then \
|
||||
. %{_sysconfdir}/selinux/config; \
|
||||
FILE_CONTEXT=%{_sysconfdir}/selinux/%1/contexts/files/file_contexts; \
|
||||
if [ "${SELINUXTYPE}" == %1 -a -f ${FILE_CONTEXT} ]; then \
|
||||
cp -f ${FILE_CONTEXT} ${FILE_CONTEXT}.pre; \
|
||||
fi \
|
||||
fi
|
||||
|
||||
%define rebuildpolicy() \
|
||||
semodule -b /usr/share/selinux/%1/base.pp -s %1 \
|
||||
|
Loading…
Reference in New Issue
Block a user