# ls -l /var/amavis/ -rw-r----- 1 amavis amavis 6 Feb 15 15:14 amavisd.pid srwxrwx--- 1 amavis amavis 0 Feb 15 15:14 amavisd.sock Default settings, these files should be by default placed in /run, because they persist after unexpected reboot I'd propose place these files in /run/amavis/amavisd.* Reproducible: Always Steps to Reproduce: 1. install amavisd-new 2. run 3. crash your computer Actual Results: amavisd refuse to load until these files are removed - thinks it's running Expected Results: Amavisd load correctly, because /run is (by default) placed in tmpfs
Created attachment 370492 [details, diff] amavisd-new.ebuild.patch This should be enough for start, tested and work file.
!)Net::Server: 2014/02/18-01:17:26 Couldn't open pid file "/run/amavis/amavisd.pid" [No such file or directory].\n\n at line 180 in file /usr/lib64/perl5/vendor_perl/5.16.3/Net/Server.pm Seems that it can't create directory at start, I'll have to look at it.
I replaced amavisd-new setup with RSpamd which works for me very well. No longer interested in amavisd-new..