On Wed, Jan 25, 2006 at 04:16:37PM +0200, Eugene Filatov wrote:
> Jan 25 16:08:39 snark milter-greylist: [ID 525239 mail.error] cannot write
> dumpfile "/var/milter-greylist/greylist.db-XXJeaaLX": No such file or directory
> Jan 25 16:08:39 snark milter-greylist: [ID 421540 mail.info] Final
> database dump: no change to dump
> Jan 25 16:08:39 snark milter-greylist: [ID 649572 mail.info] Exiting
Oh then it does not crash, it quits. Forget the gdb story.
Here is the revelant code section:
if ((dumpfd = mkstemp(newdumpfile)) == -1) {
syslog(LOG_ERR, "mkstemp(\"%s\") failed: %s",
newdumpfile, strerror(errno));
exit(EX_OSERR);
}
if ((dump = fdopen(dumpfd, "w")) == NULL) {
syslog(LOG_ERR, "cannot write dumpfile \"%s\": %s",
newdumpfile, strerror(errno));
exit(EX_OSERR);
}
You say the file exists:
> -rw------- 1 root other 0 Jan 25 16:08 greylist.db-XXJeaaLX
It sounds like an OS-speicifc mystery. Can you remind me what OS you use?
--
Emmanuel Dreyfus
manu@...Message
Re: [milter-greylist] milter-greylist-2.0.2 crash
2006-01-25 by Emmanuel Dreyfus
Attachments
- No local attachments were found for this message.