On Wed, 2006-10-04 at 20:14 +0200, Lars Kneschke wrote: > Hello! > > Whenever a logout occurs, i get following message in the syslog file. > > DBMail runs as nobody and the file is owned by root. > > Is that the expected behaviour?
Yes, unfortunately. Functions registered with atexit() are copied to forked children and cannot be cleared. One idea I have for working around this is a global variable that says "I am a child process" and the pidfile_remove and scorefile_remove functions would check for it before removing their respective files. Aaron
