2017-06-29 17:39 GMT+02:00 Alex <[email protected]>: > > Check the PrivateTmp directive in amavisd.service > > It's set to "true". > > # grep -i tmp /etc/amavisd/amavisd.conf > $TEMPBASE = "$MYHOME/tmp"; # working directory, needs to exist, -T > $ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR, used by SA, > etc. > > # ls -la ~amavis/tmp/ > total 12 > drwxr-x--- 3 amavis amavis 4096 Jun 29 11:27 . > drwxr-x--- 8 amavis amavis 4096 Jun 28 21:11 .. > > $ ps axu|grep savapi > amavis 18823 0.1 5.6 647576 462884 pts/2 Sl+ Jun28 1:29 > ./savapi -N --config=savapi.conf --key-file=MYKEY.KEY > > Thanks, > Alex >
The PrivateTmp directive sets a file system namespace for the amavisd service, so the /tmp and /var/tmp that amavisd sees is not the same as other processes. My recommendation is to create the socket in the /run/amavisd directory. If that's not an option, you can edit the service unit with: # systemctl edit --full amavisd.service Best regards.
