rpms/setroubleshoot/F-11 setroubleshoot-analyze.patch, NONE, 1.1 setroubleshoot.spec, 1.132, 1.133

Daniel J Walsh dwalsh at fedoraproject.org
Thu May 21 17:46:59 UTC 2009


Author: dwalsh

Update of /cvs/extras/rpms/setroubleshoot/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16530

Modified Files:
	setroubleshoot.spec 
Added Files:
	setroubleshoot-analyze.patch 
Log Message:
* Thu May 21 2009 Dan Walsh <dwalsh at redhat.com> - 2.1.10-2
- Fix log_stats in analyze to output avc data not audit_event


setroubleshoot-analyze.patch:

--- NEW FILE setroubleshoot-analyze.patch ---
diff -up setroubleshoot-2.0.12/src/analyze.py~ setroubleshoot-2.0.12/src/analyze.py
--- setroubleshoot-2.0.12/src/analyze.py~	2009-05-21 13:41:16.000000000 -0400
+++ setroubleshoot-2.0.12/src/analyze.py	2009-05-21 13:42:08.000000000 -0400
@@ -168,7 +168,7 @@ class Analyze(object):
 
         if profile:
             statistics.end()
-            log_stats.info("analyze_avc() audit_event=%s\nstatistics=%s", audit_event, statistics)
+            log_stats.info("analyze_avc() avc=%s\nstatistics=%s", avc, statistics)
     
 #------------------------------------------------------------------------------
 


Index: setroubleshoot.spec
===================================================================
RCS file: /cvs/extras/rpms/setroubleshoot/F-11/setroubleshoot.spec,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -p -r1.132 -r1.133
--- setroubleshoot.spec	6 May 2009 12:35:27 -0000	1.132
+++ setroubleshoot.spec	21 May 2009 17:46:29 -0000	1.133
@@ -7,6 +7,7 @@ Group: Applications/System
 URL: https://fedorahosted.org/setroubleshoot
 Source0: %{name}-%{version}.tar.gz
 Source2: setroubleshoot.logrotate
+Patch1: setroubleshoot-analyze.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: perl-XML-Parser
 BuildRequires: intltool gettext python
@@ -86,6 +87,7 @@ touch --no-create %{_datadir}/icons/hico
 
 %prep
 %setup -q
+%patch1 -p1 -b .analyze
 
 %build
 %configure
@@ -194,6 +196,9 @@ Setroubleshoot documentation package
 %doc %{pkgdocdir}
 
 %changelog
+* Thu May 21 2009 Dan Walsh <dwalsh at redhat.com> - 2.1.10-2
+- Fix log_stats in analyze to output avc data not audit_event
+
 * Wed May 6 2009 Dan Walsh <dwalsh at redhat.com> - 2.1.10-1
 - Make sure setroubleshoot exists after 10 seconds 
 




More information about the fedora-extras-commits mailing list