* Fri Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.21.3-2
- Temp file needs to be created in /etc/selinux/POLICYTYPE/contexts/files/ directory.
This commit is contained in:
parent
602612a004
commit
83027e5586
|
@ -6,7 +6,7 @@ diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/fixfiles policyc
|
|||
if [ -e /etc/selinux/config ]; then
|
||||
. /etc/selinux/config
|
||||
- FC=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts
|
||||
+ FC=`mktemp /var/tmp/file_contexts.XXXXXX`
|
||||
+ FC=`mktemp /etc/selinux/${SELINUXTYPE}/contexts/files/file_context.XXXXXX`
|
||||
+ cat /etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts /etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts.local > $FC 2> /dev/null
|
||||
else
|
||||
FC=/etc/security/selinux/file_contexts
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Summary: SELinux policy core utilities.
|
||||
Name: policycoreutils
|
||||
Version: 1.21.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: GPL
|
||||
Group: System Environment/Base
|
||||
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
|
||||
|
@ -81,6 +81,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.21.3-2
|
||||
- Temp file needs to be created in /etc/selinux/POLICYTYPE/contexts/files/ directory.
|
||||
|
||||
* Fri Jan 20 2005 Dan Walsh <dwalsh@redhat.com> 1.21.3-1
|
||||
- Upgrade to latest from NSA
|
||||
* Fixed restorecon to not treat errors from is_context_customizable()
|
||||
|
|
Loading…
Reference in New Issue