Change fixfiles restore to delete unlabeled sockets in /tmp
This commit is contained in:
parent
16246ac8b2
commit
4cd6edc808
@ -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 $?
|
||||
}
|
||||
|
||||
|
@ -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 <dwalsh@redhat.com> 2.0.85-31
|
||||
* Mon Apr 18 2011 Dan Walsh <dwalsh@redhat.com> 2.0.85-32
|
||||
- Change fixfiles restore to delete unlabeled sockets in /tmp
|
||||
|
||||
* Mon Apr 11 2011 Dan Walsh <dwalsh@redhat.com> 2.0.85-30
|
||||
|
Loading…
Reference in New Issue
Block a user