FS#65446 - [opendkim] autocreate runtime directories by default

Attached to Project: Community Packages
Opened by georg (fordprefect) - Monday, 10 February 2020, 12:43 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
In opendkim (currently at 2.10.3-5) an automated creation of the runtime directory in /run/opendkim is missing. This could be either done using tmpfiles.d or in the systemd unit.
The latter seems to be easier, since the package includes a non-upstream unit anyways.

Required changes: add the following lines under [Service]

RuntimeDirectory=opendkim
PIDFile=/run/opendkim/dkim.pid
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:01 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/opendkim/issues/1
Comment by Eric Toombs (ewtoombs) - Monday, 19 April 2021, 08:36 GMT
I used the following lines in mine to get it to work:

```
RuntimeDirectory=opendkim
RuntimeDirectoryMode=750
User=opendkim
Group=postfix
```
Comment by Toolybird (Toolybird) - Sunday, 30 April 2023, 23:14 GMT
This is now mentioned in the wiki [1] but ideally the pkg should just work (i.e. get fixed).

[1] https://wiki.archlinux.org/title/OpenDKIM#Security
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...