FS#64117 - [dovecot] systemd file invalid

Attached to Project: Community Packages
Opened by Joan (grosjo) - Sunday, 13 October 2019, 11:52 GMT
Last edited by Johannes Löthberg (demize) - Monday, 04 November 2019, 00:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Thore Bödecker (foxxx0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

In the file /etc/systemd/system/multi-user.target.wants/dovecot.service, the PIDfile shall be

PIDFile=/run/dovecot/master.pid

Otherwise the systemd complains about invalid directiry
This task depends upon

Closed by  Johannes Löthberg (demize)
Monday, 04 November 2019, 00:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.3.8-2
Comment by loqs (loqs) - Sunday, 13 October 2019, 17:04 GMT
What is the actual error message from systemd?
If you rebuild the package adding --with-rundir=/run to the configure invocation which changes the rundir from /var/run to /run,
does that resolve the issue and are there any other affects?
Edit:
Ah that would only change the entry to PIDFile=/run/master.pid
Ideally upstream should make the change as the service file comes from upstream.
Does the relative path PIDFile=dovecot/master.pid work?
Comment by Joan (grosjo) - Sunday, 27 October 2019, 07:05 GMT
I found that only PIDFile=/run/dovecot/master.pid stop systemed from complaining

Loading...