Re: Can't create temporary file

From: A. Schulze <sca_at_andreasschulze.de>
Date: Mon, 14 Mar 2016 08:43:10 +0100

John Swartzentruber:

> [root_at_arthur etc]# su opendkim
> bash-4.1$ cd /var/tmp
> bash-4.1$ dir
> bash-4.1$ touch /var/tmp/dkim.8FB9360005.tm67c8
> bash-4.1$ dir
> dkim.8FB9360005.tm67c8
>
>
> Mar 13 17:02:09 arthur opendkim[23988]: OpenDKIM Filter v2.10.3
> terminating with status 0, errno = 0
> Mar 13 17:02:16 arthur opendkim[24080]: OpenDKIM Filter v2.10.3
> starting (args: -x /etc/opendkim.conf -P
> /var/run/opendkim/opendkim.pid)
> Mar 13 17:02:21 arthur opendkim[24080]: 8FB9360005: dkim_eoh():
> resource unavailable: can't create temporary file at
> /var/tmp/dkim.8FB9360005.tm67c8: Permission denied
>
> Any ideas of what else to try or where else to look?

Do you set ChangeRootDirectory in /etc/opendkim.conf?
if so, $chroot/var/tmp must exist and be writable also.

Do you use systemd?
I'm aware systemd present a private /tmp to processes. Maybe you also
see a private /var/tmp.

Andreas
Received on Mon Mar 14 2016 - 07:49:52 PST

This archive was generated by hypermail 2.3.0 : Mon Mar 14 2016 - 07:54:00 PST