diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index b182a09..16bb3d4 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -3194,7 +3194,7 @@ index 3f9efba..7c6d75a 100644 +/etc/selinux/{SELINUXTYPE}/seusers diff --git a/policycoreutils/scripts/fixfiles b/policycoreutils/scripts/fixfiles -index ae519fc..706184d 100755 +index ae519fc..8e47d94 100755 --- a/policycoreutils/scripts/fixfiles +++ b/policycoreutils/scripts/fixfiles @@ -21,6 +21,44 @@ @@ -3325,7 +3325,7 @@ index ae519fc..706184d 100755 find /tmp \( -context "*:file_t*" -o -context "*:unlabeled_t*" \) -exec chcon -t tmp_t {} \; find /var/tmp \( -context "*:file_t*" -o -context "*:unlabeled_t*" \) -exec chcon -t tmp_t {} \; +find /var/run \( -context "*:file_t*" -o -context "*:unlabeled_t*" \) -exec chcon -t var_run_t {} \; -+find /var/lib/debug \( -context "*:file_t*" -o -context "*:unlabeled_t*" \) -exec chcon -t lib_t {} \; ++[ -e /var/lib/debug ] && find /var/lib/debug \( -context "*:file_t*" -o -context "*:unlabeled_t*" \) -exec chcon -t lib_t {} \; exit $? } diff --git a/policycoreutils.spec b/policycoreutils.spec index 06e5dfd..a26cdce 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -7,7 +7,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.0.85 -Release: 31%{?dist} +Release: 32%{?dist} License: GPLv2 Group: System Environment/Base # Based on git repository with tag 20101221 @@ -331,7 +331,7 @@ fi exit 0 %changelog -* Mon Apr 18 2011 Dan Walsh 2.0.85-31 +* Mon Apr 18 2011 Dan Walsh 2.0.85-32 - Change fixfiles restore to delete unlabeled sockets in /tmp * Mon Apr 11 2011 Dan Walsh 2.0.85-30