Re: Can't create temporary file

From: John Swartzentruber <johnslists_at_mcswartz.org>
Date: Sun, 13 Mar 2016 17:07:45 -0400

On 11/2/2015 2:39 AM, Murray S. Kucherawy wrote:
> On Fri, 23 Oct 2015, John Swartzentruber wrote:
>> Oct 23 20:10:09 arthur opendkim[12038]: 15C995FF72: dkim_eoh():
>> resource unavailable: can't create temporary file at
>> /var/tmp/dkim.15C995FF72.vH778c: Permission denied
>
> It's reporting the return from mkstemp(). Apparently there's some
> directory (/var, perhaps?) that's locked down above /var/tmp, or
> perhaps a mount option that's preventing opendkim from working properly.
>
> If you "su" to the opedkim user, can you create files in /var/tmp?
>
> -MSK
>

Yes, when I su to opendkim user, I can create files in /var/tmp. But I
still get this error when I enable the opendkim service.

[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?
Received on Sun Mar 13 2016 - 21:08:58 PST

This archive was generated by hypermail 2.3.0 : Sun Mar 13 2016 - 21:18:01 PST