* Mon Sep 8 2008 Dan Walsh <dwalsh@redhat.com> 2.0.55-3

- Fix fixfiles to correct unlabeled_t files and remove .? files
This commit is contained in:
Daniel J Walsh 2008-09-08 17:47:59 +00:00
parent 8b3cb0f67c
commit ac5ad8648b
2 changed files with 22 additions and 1 deletions

View File

@ -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

View File

@ -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 <dwalsh@redhat.com> 2.0.55-3
- Fix fixfiles to correct unlabeled_t files and remove .? files
* Wed Sep 3 2008 Dan Walsh <dwalsh@redhat.com> 2.0.55-2
- Add glob support to restorecond so it can check every file in the homedir