Bug#837375: opendkim: create group-accessible runtime directory

2016-10-24 Thread Scott Kitterman
On Saturday, September 10, 2016 11:00:49 PM Peter Colberg wrote:
> Source: opendkim
> Version: 2.10.3-5
> Severity: normal
> 
> Dear Maintainer,
> 
> The permissions of /var/run/opendkim are set to 0700, which prohibits
> users belonging to the group "opendkim" from accessing the unix socket.
> 
> Instead of using custom ExecStartPre stanzes, you can create the
> temporary directory using systemd-tmpfiles by shipping a file
> /etc/tmpfiles.d/opendkim.conf that contains the following line:
> 
> d /var/run/opendkim 0710 opendkim opendkim - -

I extended the current method rather than do this so that changing the values 
in /etc/default still works.  Thanks for the report.

Scott K



Bug#837375: opendkim: create group-accessible runtime directory

2016-09-10 Thread Peter Colberg
Source: opendkim
Version: 2.10.3-5
Severity: normal

Dear Maintainer,

The permissions of /var/run/opendkim are set to 0700, which prohibits
users belonging to the group "opendkim" from accessing the unix socket.

Instead of using custom ExecStartPre stanzes, you can create the
temporary directory using systemd-tmpfiles by shipping a file
/etc/tmpfiles.d/opendkim.conf that contains the following line:

d /var/run/opendkim 0710 opendkim opendkim - -

Regards,
Peter