rpms/policycoreutils/devel policycoreutils-rhat.patch, 1.216, 1.217 policycoreutils.spec, 1.298, 1.299

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Aug 2 20:53:39 UTC 2006


Author: dwalsh

Update of /cvs/dist/rpms/policycoreutils/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13706

Modified Files:
	policycoreutils-rhat.patch policycoreutils.spec 
Log Message:
* Wed Aug 2 2006 Dan Walsh <dwalsh at redhat.com> 1.30.22-3
- Fix audit2allow to handle reload of policy


policycoreutils-rhat.patch:
 audit2allow/audit2allow      |    2 
 audit2allow/avc.py           |    3 
 newrole/newrole.c            |    8 +
 po/fr.po                     |   54 ++++++---
 po/sv.po                     |  252 +++++++++++++++++++++++++++----------------
 po/ta.po                     |   34 ++---
 restorecond/restorecond.c    |    7 +
 restorecond/restorecond.init |    2 
 scripts/fixfiles             |    2 
 scripts/genhomedircon        |    2 
 semodule_deps/Makefile       |    1 
 11 files changed, 235 insertions(+), 132 deletions(-)

Index: policycoreutils-rhat.patch
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils-rhat.patch,v
retrieving revision 1.216
retrieving revision 1.217
diff -u -r1.216 -r1.217
--- policycoreutils-rhat.patch	2 Aug 2006 18:44:04 -0000	1.216
+++ policycoreutils-rhat.patch	2 Aug 2006 20:53:36 -0000	1.217
@@ -1,3 +1,28 @@
+diff --exclude-from=exclude -N -u -r nsapolicycoreutils/audit2allow/audit2allow policycoreutils-1.30.22/audit2allow/audit2allow
+--- nsapolicycoreutils/audit2allow/audit2allow	2006-08-01 09:47:23.000000000 -0400
++++ policycoreutils-1.30.22/audit2allow/audit2allow	2006-08-02 16:50:29.000000000 -0400
+@@ -176,7 +176,7 @@
+ 			sys.exit(0)
+ 
+ 		if auditlogs and os.path.exists("/var/log/audit/audit.log"):
+-			inputfd = os.popen("ausearch -m avc")
++			inputfd = os.popen("ausearch -m avc,MAC_POLICY_LOAD")
+ 			serules.load(inputfd)
+ 
+ 		if buildPP:
+diff --exclude-from=exclude -N -u -r nsapolicycoreutils/audit2allow/avc.py policycoreutils-1.30.22/audit2allow/avc.py
+--- nsapolicycoreutils/audit2allow/avc.py	2006-07-03 07:52:43.000000000 -0400
++++ policycoreutils-1.30.22/audit2allow/avc.py	2006-08-02 16:50:50.000000000 -0400
+@@ -352,6 +352,9 @@
+                             if i == "security_compute_sid:":
+                                 self.security_compute_sid(rec)
+                                 found = 1
++                            elif i == "type=MAC_POLICY_LOAD" and self.last_reload:
++                                self.initialize()
++                                break
+                             else:
+                                 dict.append(i)
+                     if found:
 diff --exclude-from=exclude -N -u -r nsapolicycoreutils/newrole/newrole.c policycoreutils-1.30.22/newrole/newrole.c
 --- nsapolicycoreutils/newrole/newrole.c	2006-07-03 07:52:43.000000000 -0400
 +++ policycoreutils-1.30.22/newrole/newrole.c	2006-08-02 14:22:10.000000000 -0400


Index: policycoreutils.spec
===================================================================
RCS file: /cvs/dist/rpms/policycoreutils/devel/policycoreutils.spec,v
retrieving revision 1.298
retrieving revision 1.299
diff -u -r1.298 -r1.299
--- policycoreutils.spec	2 Aug 2006 18:44:04 -0000	1.298
+++ policycoreutils.spec	2 Aug 2006 20:53:36 -0000	1.299
@@ -5,7 +5,7 @@
 Summary: SELinux policy core utilities.
 Name: policycoreutils
 Version: 1.30.22
-Release: 2
+Release: 3
 License: GPL
 Group: System Environment/Base
 Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
@@ -119,6 +119,9 @@
 [ -x /sbin/service ] && /sbin/service restorecond condrestart
 
 %changelog
+* Wed Aug 2 2006 Dan Walsh <dwalsh at redhat.com> 1.30.22-3
+- Fix audit2allow to handle reload of policy
+
 * Wed Aug 2 2006 Dan Walsh <dwalsh at redhat.com> 1.30.22-2
 - Stop restorecond init script when selinux is not enabled
 




More information about the fedora-cvs-commits mailing list