Control: severity -1 wishlist Hi Manuel,
On 17:33 Thu 22 Jun , Manuel Glanznig wrote: > Hello, > > I have a new Debian 9.0 with Dovecot (both are uptodate). > When I restart Dovecot, I always get following error message in the > /var/log/syslog: > > "systemd[1]: dovecot.service: PID file /var/run/dovecot/mast > er.pid not readable (yet?) after start: No such file or directory" > > The directory "/var/run/dovecot" and the file "master.pid" exist and they > are readable. > > I think it's just a matter of appearance, because Dovecot will be restarted > correctly. > > In my opinion, it's a timing problem of Systemd. Thanks for the report! Indeed, it seems to be a race condition: systemd expects the PID file to be present right when initial process exits, but dovecot creates the PID file after demonization. This seems to be purely cosmetic and I haven't managed to reproduce it, however it will be solved by running dovecot in the foreground as a Type=simple service. Cheers, Apollon