Not sure if the issue is limited to the Debian Auto-Builds, but after the latest commits an update of the packages fails: https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c884a2 Feb 21 07:31:22 nihlus dovecot: master: Dovecot v2.2.devel (950a6e6) starting up for imap, lmtp Feb 21 07:31:22 nihlus systemd[1]: PID file /var/run/dovecot/dovecot/master.pid not readable (yet?) after start. The PID-File seems to be expected under yet another sub-dir of /var/run/dovecot. Regards Thomas -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20160221/4e2a3e76/attachment.sig>
> On February 21, 2016 at 11:03 AM Thomas Leuxner <tlx at leuxner.net> wrote: > > > Not sure if the issue is limited to the Debian Auto-Builds, but after the > latest commits an update of the packages fails: > > https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c884a2 > > Feb 21 07:31:22 nihlus dovecot: master: Dovecot v2.2.devel (950a6e6) starting > up for imap, lmtp > Feb 21 07:31:22 nihlus systemd[1]: PID file > /var/run/dovecot/dovecot/master.pid not readable (yet?) after start. > > The PID-File seems to be expected under yet another sub-dir of > /var/run/dovecot. > > Regards > ThomasHi, This is fixed in https://github.com/dovecot/core/commit/22d75d47097ca83c6e824a5129d81e8f18fb589b --- Aki Tuomi
* aki.tuomi at dovecot.fi <aki.tuomi at dovecot.fi> 2016.02.21 12:43:> This is fixed in > https://github.com/dovecot/core/commit/22d75d47097ca83c6e824a5129d81e8f18fb589bThanks Aki. As all patches are in the source tree, I guess this is not included in Stephan's Auto-Build: $ dpkg --unpack dovecot-core_2.2.21-1~auto+130_amd64.deb $ grep PID /lib/systemd/system/dovecot.service PIDFile=/var/run/dovecot/dovecot/master.pid I manually edited the file afterwards and ran dpkg --configure which brought up the server. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20160221/51351069/attachment.sig>
On 21/02/2016 10:43 PM, aki.tuomi at dovecot.fi wrote:>> The PID-File seems to be expected under yet another sub-dir of >> /var/run/dovecot. >> >> Regards >> Thomas > > Hi, > > This is fixed in > https://github.com/dovecot/core/commit/22d75d47097ca83c6e824a5129d81e8f18fb589b > > --- > Aki TuomiThis doesn't seem to be fixed for me, with latest -hg and a full make clean and new ./configure as of 30 mins ago. This is with a raspberri pi with Raspbian 8 (all up to date). [Service] Type=forking ExecStart=/usr/sbin/dovecot PIDFile=/var/run/dovecot/dovecot/master.pid ExecReload=/usr/bin/doveadm reload ExecStop=/usr/bin/doveadm stop PrivateTmp=true NonBlocking=yes # Enable this if your systemd is new enough to support it: #ProtectSystem=full I'm running ./configure with: ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --infodir=/usr/share/info --with-moduledir=/usr/lib/dovecot/modules --disable-rpath --with-systemdsystemunitdir=auto --with-storages=maildir --with-ssl=openssl --with-solr --with-ioloop=best --with-stemmer --with-libwrap --with-lucene --without-sqlite --without-ldap --without-pgsql --disable-static It's not an old dovecot.service file either - updated when I installed the build a few minutes ago. By manually editing the systemd file above I was able to get the service up. Reuben
Steve Litt
2016-Feb-21 17:10 UTC
To what extent does/will Dovecot depend on systemd? was systemd changes...
On Sun, 21 Feb 2016 10:03:15 +0100 Thomas Leuxner <tlx at leuxner.net> wrote: [snip]> https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c884a2[snip]> The PID-File seems to be expected under yet another sub-dir > of /var/run/dovecot.I wasn't aware that any Dovecot functionalities have become dependent on systemd. Is this discussion simply about the unit file and PID file location for Dovecot under systemd's process manager, or is Dovecot starting to acquire systemd dependencies that will make it difficult to run without systemd in the future? Thanks, SteveT Steve Litt February 2016 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key
Aki Tuomi
2016-Feb-22 07:14 UTC
To what extent does/will Dovecot depend on systemd? was systemd changes...
On 21.02.2016 19:10, Steve Litt wrote:> On Sun, 21 Feb 2016 10:03:15 +0100 > Thomas Leuxner <tlx at leuxner.net> wrote: > > [snip] > >> https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c884a2 > [snip] > >> The PID-File seems to be expected under yet another sub-dir >> of /var/run/dovecot. > I wasn't aware that any Dovecot functionalities have become dependent > on systemd. Is this discussion simply about the unit file and PID file > location for Dovecot under systemd's process manager, or is Dovecot > starting to acquire systemd dependencies that will make it difficult to > run without systemd in the future? > > Thanks, > > SteveT > > Steve Litt > February 2016 featured book: The Key to Everyday Excellence > http://www.troubleshooters.com/keyWe do not depend on systemd, but unit files are provided and automatically installed if enabled. Aki
Possibly Parallel Threads
- systemd changes in Git/Debian Auto-Builds
- IMAP hibernate feature committed
- Latest HG Changes (fac92b5) affect Sieve-Plugin/LMTP
- imap-login killed with signal 11 in Dovecot 2.2.13 (feea8645c4d7)
- Error: istream-seekable: safe_mkstemp(/tmp/dovecot.imap.) failed