rpms/setroubleshoot/F-10 setroubleshoot-analyze.patch, NONE, 1.1 setroubleshoot.spec, 1.110, 1.111

Daniel J Walsh dwalsh at fedoraproject.org
Thu May 21 17:44:42 UTC 2009


Author: dwalsh

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

Modified Files:
	setroubleshoot.spec 
Added Files:
	setroubleshoot-analyze.patch 
Log Message:
* Thu May 21 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.12-4
- 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-10/setroubleshoot.spec,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -p -r1.110 -r1.111
--- setroubleshoot.spec	10 Nov 2008 21:28:05 -0000	1.110
+++ setroubleshoot.spec	21 May 2009 17:44:12 -0000	1.111
@@ -1,14 +1,15 @@
 Summary: Helps troubleshoot SELinux problems
 Name: setroubleshoot
 Version: 2.0.12
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: https://fedorahosted.org/setroubleshoot
 Source0: %{name}-%{version}.tar.gz
 Source1: setroubleshoot.init
 Source2: setroubleshoot.logrotate
-Patch: setroubleshoot-purge.patch
+Patch1: setroubleshoot-purge.patch
+Patch2: setroubleshoot-analyze.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
 BuildRequires: perl-XML-Parser
@@ -85,7 +86,8 @@ touch --no-create %{_datadir}/icons/hico
 
 %prep
 %setup -q
-%patch -p1 -b .purge
+%patch1 -p1 -b .purge
+%patch2 -p1 -b .analyze
 
 %build
 %configure
@@ -184,6 +186,9 @@ rm -rf %{buildroot}
 %attr(0755,root,root) /etc/rc.d/init.d/%{name}
 
 %changelog
+* Thu May 21 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.12-4
+- Fix log_stats in analyze to output avc data not audit_event
+
 * Mon Nov 10 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.12-3
 - Fix analyze to purge properly without recursing
 




More information about the scm-commits mailing list