rpms/audit/devel audit-setroubleshoot.patch,1.5,1.6
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Aug 8 17:25:59 UTC 2006
Author: dwalsh
Update of /cvs/dist/rpms/audit/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5593
Modified Files:
audit-setroubleshoot.patch
Log Message:
Remove debug lines
audit-setroubleshoot.patch:
AuditMsg.py | 63 +++++++++++++++++++++++++------
audispd | 119 ++++++++++++++++++++++++------------------------------------
2 files changed, 99 insertions(+), 83 deletions(-)
Index: audit-setroubleshoot.patch
===================================================================
RCS file: /cvs/dist/rpms/audit/devel/audit-setroubleshoot.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- audit-setroubleshoot.patch 6 Aug 2006 00:03:41 -0000 1.5
+++ audit-setroubleshoot.patch 8 Aug 2006 17:25:56 -0000 1.6
@@ -1,5 +1,5 @@
--- audit-1.2.5/audisp/audispd.setroubleshoot 2006-07-13 13:37:04.000000000 -0400
-+++ audit-1.2.5/audisp/audispd 2006-08-02 17:32:37.000000000 -0400
++++ audit-1.2.5/audisp/audispd 2006-08-08 13:25:04.000000000 -0400
@@ -1,76 +1,44 @@
#! /usr/bin/env python
import os, string, select, syslog
@@ -98,7 +98,7 @@
return 0
else:
return 500
-@@ -78,42 +46,55 @@
+@@ -78,42 +46,53 @@
def run(self):
global HUP
sleep=500
@@ -118,7 +118,6 @@
+ input,output, err = select.select(self.inList,[], self.outList, sleep)
+ for s in input:
+ if s == 0:
-+ syslog.syslog("s == 0")
+ msg = AuditMsg.AuditMsg()
+ if not msg.read_from_fd(0):
+ syslog.syslog("Connection closing")
@@ -131,7 +130,6 @@
+ self.outList.append(c)
+
+ for s in err:
-+ syslog.syslog("s in err")
+ if s in self.outList:
+ s.close()
+ self.outList.remove(s)
@@ -172,7 +170,7 @@
except Exception, e:
syslog.syslog("Unexpected exception %s " % e)
--- audit-1.2.5/audisp/AuditMsg.py.setroubleshoot 2006-07-13 13:36:08.000000000 -0400
-+++ audit-1.2.5/audisp/AuditMsg.py 2006-08-02 17:30:27.000000000 -0400
++++ audit-1.2.5/audisp/AuditMsg.py 2006-08-08 13:24:30.000000000 -0400
@@ -1,33 +1,55 @@
import struct, os
+
More information about the fedora-cvs-commits
mailing list