* Thu Jan 27 2005 Dan Walsh <dwalsh@redhat.com> 1.21.5-1

- Upgrade to latest from NSA
	* Merged newrole -l support from Darrel Goeddel (TCS).
- Fix genhomedircon STARTING_UID
This commit is contained in:
Daniel J Walsh 2005-01-27 15:07:13 +00:00
parent ba982e52e7
commit f5df4d17e9
4 changed files with 19 additions and 25 deletions

View File

@ -9,3 +9,4 @@ policycoreutils-1.20.1.tgz
policycoreutils-1.21.1.tgz policycoreutils-1.21.1.tgz
policycoreutils-1.21.3.tgz policycoreutils-1.21.3.tgz
policycoreutils-1.21.4.tgz policycoreutils-1.21.4.tgz
policycoreutils-1.21.5.tgz

View File

@ -1,24 +1,12 @@
diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/fixfiles policycoreutils-1.21.1/scripts/fixfiles diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-1.21.5/scripts/genhomedircon
--- nsapolicycoreutils/scripts/fixfiles 2005-01-24 11:19:10.103136000 -0500 --- nsapolicycoreutils/scripts/genhomedircon 2005-01-25 10:32:01.000000000 -0500
+++ policycoreutils-1.21.1/scripts/fixfiles 2005-01-24 11:19:28.998223000 -0500 +++ policycoreutils-1.21.5/scripts/genhomedircon 2005-01-27 10:05:51.000000000 -0500
@@ -37,11 +37,19 @@ @@ -96,7 +96,7 @@
SELINUXTYPE="targeted"
if [ -e /etc/selinux/config ]; then rc=commands.getstatusoutput("grep -h '^UID_MIN' /etc/login.defs | sed -e 's/^UID_MIN[^0-9]*//'")
. /etc/selinux/config if rc[0] == 0:
- FC=/etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts - STARTING_UID=rc[1]
+ FC=`mktemp /etc/selinux/${SELINUXTYPE}/contexts/files/file_context.XXXXXX` + STARTING_UID=int(rc[1])
+ cat /etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts /etc/selinux/${SELINUXTYPE}/contexts/files/file_contexts.local > $FC 2> /dev/null else:
else STARTING_UID=500
FC=/etc/security/selinux/file_contexts
fi
+cleanup() {
+ if [ -e /etc/selinux/config -a -f "$FC" ]; then
+ rm -f $FC
+ fi
+}
+trap "cleanup" 0 1 2 3 13 15
+
#
# Log to either syslog or a LOGFILE
#

View File

@ -1,6 +1,6 @@
Summary: SELinux policy core utilities. Summary: SELinux policy core utilities.
Name: policycoreutils Name: policycoreutils
Version: 1.21.1 Version: 1.21.5
Release: 1 Release: 1
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
@ -78,6 +78,11 @@ rm -rf ${RPM_BUILD_ROOT}
%config(noreplace) %{_sysconfdir}/sestatus.conf %config(noreplace) %{_sysconfdir}/sestatus.conf
%changelog %changelog
* Thu Jan 27 2005 Dan Walsh <dwalsh@redhat.com> 1.21.5-1
- Upgrade to latest from NSA
* Merged newrole -l support from Darrel Goeddel (TCS).
- Fix genhomedircon STARTING_UID
* Wed Jan 26 2005 Dan Walsh <dwalsh@redhat.com> 1.21.4-1 * Wed Jan 26 2005 Dan Walsh <dwalsh@redhat.com> 1.21.4-1
- Upgrade to latest from NSA - Upgrade to latest from NSA
* Merged fixfiles patch for file_contexts.local from Dan Walsh. * Merged fixfiles patch for file_contexts.local from Dan Walsh.

View File

@ -1 +1 @@
7a9c64861b368bfdba8785e697db2ce7 policycoreutils-1.21.4.tgz b16922f69bf5c3709df31304f7ee610a policycoreutils-1.21.5.tgz