diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index 962a23e..fb11d59 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -69,6 +69,24 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.13 --exclude=gui --exclude=po strings_list_print(list1); strings_list_free(list); strings_list_free(list1); +diff --exclude-from=exclude --exclude=sepolgen-1.0.13 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/scripts/fixfiles policycoreutils-2.0.55/scripts/fixfiles +--- nsapolicycoreutils/scripts/fixfiles 2008-08-28 09:34:24.000000000 -0400 ++++ policycoreutils-2.0.55/scripts/fixfiles 2008-09-08 13:45:29.000000000 -0400 +@@ -141,12 +141,13 @@ + rm -rf /tmp/gconfd-* /tmp/pulse-* /tmp/orbit-* + find /tmp -context "*:file_t*" -exec chcon -t tmp_t {} \; + find /var/tmp -context "*:file_t*" -exec chcon -t tmp_t {} \; ++find /var/tmp -context "*:unlabeled_t*" -exec chcon -t tmp_t {} \; + exit $? + } + + fullrelabel() { + logit "Cleaning out /tmp" +- rm -rf /tmp/.??* /tmp/* ++ rm -rf /tmp/.[^.]* /tmp/* + LogReadOnly + restore + } diff --exclude-from=exclude --exclude=sepolgen-1.0.13 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/semanage/semanage policycoreutils-2.0.55/semanage/semanage --- nsapolicycoreutils/semanage/semanage 2008-08-28 09:34:24.000000000 -0400 +++ policycoreutils-2.0.55/semanage/semanage 2008-08-29 14:34:58.000000000 -0400 diff --git a/policycoreutils.spec b/policycoreutils.spec index 22be3a1..4ba88f1 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -6,7 +6,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.0.55 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: System Environment/Base Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz @@ -192,6 +192,9 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Mon Sep 8 2008 Dan Walsh 2.0.55-3 +- Fix fixfiles to correct unlabeled_t files and remove .? files + * Wed Sep 3 2008 Dan Walsh 2.0.55-2 - Add glob support to restorecond so it can check every file in the homedir