[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Checksum database Syslog bug
From: |
Robert Shaw |
Subject: |
Checksum database Syslog bug |
Date: |
Fri, 06 Apr 2001 16:01:55 -0700 |
Mark,
There's a bug in the cfd code that causes 100's of syslog warnings when
you don't have a database defined in the cdf.conf file (and don't want
to use one). I've included the patch below that fixes this. There's a
"CHECKSUMDB == NULL" check in the misc.c file that fails because of the
lines I fixed, thus causing cfd to try to access a DB file when it
shouldn't.
-Robert
Index: src/cfd.c
===================================================================
RCS file: /home/cadphx/cvsroot/gnu/cfengine/src/cfd.c,v
retrieving revision 1.1.1.3
diff -u -r1.1.1.3 cfd.c
--- src/cfd.c 2001/02/22 20:46:58 1.1.1.3
+++ src/cfd.c 2001/04/06 22:26:41
@@ -262,10 +262,6 @@
FatalError("$(ChecksumDatabase) does not expand to an absolute
filename\n");
}
}
-else
- {
- CHECKSUMDB = strdup("");
- }
if (GetMacroValue("IfElapsed"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Checksum database Syslog bug,
Robert Shaw <=