#739738 locker: safe_lock: cannot create tmp lockfile debian-spamd/.spamassassin/auto-whitelist.lock.mail...

#739738#5
Date:
2014-02-22 05:06:41 UTC
From:
To:
Yesterday I upgraded spamassassin from 3.3.2-7 to 3.4.0-1.  I now get a bunch of lines in my syslog like this:

Feb 21 06:17:56 mail spamd[17742]: auto-whitelist: open of auto-whitelist file failed: locker: safe_lock: cannot create tmp lockfile debian-spamd/.spamassassin/auto-whitelist.lock.mail.mclemente.net.17742 for debian-spamd/.spamassassin/auto-whitelist.lock: No such file or directory

spamd is running as debian-spamd user.  Its home directory is /var/lib/spamassassin.  The directory /var/lib/spamassassin/.spamassassin exists and is owned and writeable by debian-spamd.

spamd is called as follows:

/usr/sbin/spamd --nouser-config --username=debian-spamd --groupname=debian-spamd --max-children 5 --helper-home-dir=/var/lib/spamassassin -d --pidfile=/var/run/spamd.pid

Problem with a relative path or missing tilde?

Maybe in /usr/share/perl5/Mail/SpamAssassin/Locker/UnixNFSSafe.pm

Marc

#739738#10
Date:
2014-04-28 08:46:05 UTC
From:
To:
#739738#15
Date:
2014-12-05 08:45:05 UTC
From:
To:
This patch fixes the bug.
Please apply.