diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch index f0e5a55..8285323 100644 --- a/policycoreutils-rhat.patch +++ b/policycoreutils-rhat.patch @@ -28,3 +28,15 @@ diff --exclude-from=exclude --exclude=sepolgen-1.0.13 --exclude=gui --exclude=po return -1; } rc |= cap_set_flag(new_caps, CAP_PERMITTED, 6, cap_list, CAP_SET); +diff --exclude-from=exclude --exclude=sepolgen-1.0.13 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/semanage/seobject.py policycoreutils-2.0.57/semanage/seobject.py +--- nsapolicycoreutils/semanage/seobject.py 2008-09-12 11:48:15.000000000 -0400 ++++ policycoreutils-2.0.57/semanage/seobject.py 2008-10-23 11:04:33.000000000 -0400 +@@ -1430,7 +1430,7 @@ + if rc < 0: + raise ValueError(_("Could not create key for %s") % target) + +- (rc,exists) = semanage_fcontext_exists(self.sh, k) ++ (rc,exists) = semanage_fcontext_exists_local(self.sh, k) + if rc < 0: + raise ValueError(_("Could not check if file context for %s is defined") % target) + if exists: diff --git a/policycoreutils.spec b/policycoreutils.spec index 17b59ab..d8544d3 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -6,7 +6,7 @@ Summary: SELinux policy core utilities Name: policycoreutils Version: 2.0.57 -Release: 4%{?dist} +Release: 5%{?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 +* Tue Oct 23 2008 Dan Walsh 2.0.57-5 +- Allow addition of local modifications of fcontext policy. + * Mon Oct 20 2008 Dan Walsh 2.0.57-4 - Fix system-config-selinux booleanspage throwing and exception - Update po files