Bug#252966: [Logcheck-devel] Bug#252966: Debug mode

maks attems debian at sternwelten.at
Mon Jun 7 15:52:24 UTC 2004


hello damien!

On Sun, 06 Jun 2004, Damien Raude-Morvan wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> To complete my report, I have run a diff. on the two servers (one with
> logcheck working and the other with logcheck failing) :
 
woow thanks a lot for your detailed report,
had those strange reports also on my machine,
please double check if attached patch from logcheck cvs
cures the problem. 

or you may want to try updated packages on (sources.list line):
# logcheck testing
deb http://debian.stro.at sarge/

thanks for reporting back if aboves cures observed problem.
a++ maks


-------------- next part --------------
Index: src/logcheck
===================================================================
RCS file: /cvsroot/logcheck/logcheck/src/logcheck,v
retrieving revision 1.52
retrieving revision 1.55
diff -u -r1.52 -r1.55
--- src/logcheck	5 Jun 2004 16:54:09 -0000	1.52
+++ src/logcheck	7 Jun 2004 15:48:43 -0000	1.55
@@ -22,7 +22,7 @@
 # along with Logcheck; if not, write to the Free Software
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-# $Id: logcheck,v 1.52 2004/06/05 16:54:09 maks-guest Exp $
+# $Id: logcheck,v 1.55 2004/06/07 15:48:43 maks-guest Exp $
 
 
 # Set the umask
@@ -304,7 +304,9 @@
 		# Remove any  entries already reported
 		for file in $(ls $raise/ | grep -v '^logcheck') ; do
 		    debug "Cleaning logcheck: $file"
-	            cleanchecked "$ignore/$file"
+		    if[ -f "$ignore/$file" ]; then
+	                cleanchecked "$ignore/$file"
+		    fi
 		done
 	    fi
 
@@ -358,7 +360,7 @@
 	        || error "Could not move $TMPDIR/checked.1 to $TMPDIR/checked"
 	done
     else
-	error "cleanchecked: Not a file or a directory"
+	error "cleanchecked: Not a file or a directory $clean"
     fi
 }
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040607/09fc5af1/attachment.pgp 


More information about the Logcheck-devel mailing list