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/53cc71cae88ee81fd7eae47aed743496f8c88...
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
On February 21, 2016 at 11:03 AM Thomas Leuxner tlx@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/53cc71cae88ee81fd7eae47aed743496f8c88...
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
Hi,
This is fixed in https://github.com/dovecot/core/commit/22d75d47097ca83c6e824a5129d81e8f18fb5...
Aki Tuomi
- aki.tuomi@dovecot.fi aki.tuomi@dovecot.fi 2016.02.21 12:43:
This is fixed in https://github.com/dovecot/core/commit/22d75d47097ca83c6e824a5129d81e8f18fb5...
Thanks 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.
On 21 Feb 2016, at 14:23, Thomas Leuxner tlx@leuxner.net wrote:
- aki.tuomi@dovecot.fi aki.tuomi@dovecot.fi 2016.02.21 12:43:
This is fixed in https://github.com/dovecot/core/commit/22d75d47097ca83c6e824a5129d81e8f18fb5...
Thanks 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.
Another fix: https://git.dovecot.net/dovecot/core/commit/2d5fcede6dcce079fdca5f0589c9c214...
- Timo Sirainen tss@iki.fi 2016.02.22 09:28:
Another fix: https://git.dovecot.net/dovecot/core/commit/2d5fcede6dcce079fdca5f0589c9c214...
Thanks. Confirmed effective.
On 21/02/2016 10:43 PM, aki.tuomi@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/22d75d47097ca83c6e824a5129d81e8f18fb5...
Aki Tuomi
This 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
On February 21, 2016 at 2:31 PM Reuben Farrelly reuben-dovecot@reub.net wrote:
On 21/02/2016 10:43 PM, aki.tuomi@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/22d75d47097ca83c6e824a5129d81e8f18fb5...
Aki Tuomi
This 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
Hi,
where was your pid file located?
Aki Tuomi
On 21/02/2016 11:35 PM, aki.tuomi@dovecot.fi wrote:
By manually editing the systemd file above I was able to get the service up.
Reuben
Hi,
where was your pid file located?
Aki Tuomi
In /var/run/dovecot :
root@pi:~/dovecot/dovecot-2.2# ls -la /var/run/dovecot/ total 8 drwxr-xr-x 5 root root 780 Feb 22 01:18 . drwxr-xr-x 17 root root 580 Jan 1 1970 .. srw------- 1 root root 0 Feb 22 01:18 anvil srw------- 1 root root 0 Feb 22 01:18 anvil-auth-penalty srw------- 1 dovecot root 0 Feb 22 01:18 auth-client srw------- 1 dovecot root 0 Feb 22 01:18 auth-login srw------- 1 root root 0 Feb 22 01:18 auth-master -rw------- 1 root root 32 Feb 21 15:25 auth-token-secret.dat srw-rw-rw- 1 dovecot root 0 Feb 22 01:18 auth-userdb srw------- 1 dovecot root 0 Feb 22 01:18 auth-worker srw------- 1 root root 0 Feb 22 01:18 config srw------- 1 root root 0 Feb 22 01:18 dict srw------- 1 root root 0 Feb 22 01:18 dict-async srw------- 1 root root 0 Feb 22 01:18 director-admin srw------- 1 root root 0 Feb 22 01:18 director-userdb srw-rw-rw- 1 root root 0 Feb 22 01:18 dns-client srw------- 1 root root 0 Feb 22 01:18 doveadm-server lrwxrwxrwx 1 root root 25 Feb 22 01:18 dovecot.conf -> /etc/dovecot/dovecot.conf drwxr-xr-x 2 root root 40 Jan 1 1970 empty srw------- 1 root root 0 Feb 22 01:18 imap-hibernate srw------- 1 root root 0 Feb 22 01:18 imap-master srw-rw-rw- 1 root root 0 Feb 22 01:18 imap-urlauth srw------- 1 dovecot root 0 Feb 22 01:18 imap-urlauth-worker srw-rw-rw- 1 root root 0 Feb 22 01:18 indexer srw------- 1 dovecot root 0 Feb 22 01:18 indexer-worker srw------- 1 root root 0 Feb 22 01:18 ipc srw-rw-rw- 1 root root 0 Feb 22 01:18 lmtp srw------- 1 root root 0 Feb 22 01:18 log-errors drwxr-x--- 2 root dovenull 120 Feb 22 01:18 login -rw------- 1 root root 6 Feb 22 01:18 master.pid srw-rw-rw- 1 root root 0 Feb 22 01:18 replication-notify prw-rw-rw- 1 root root 0 Feb 22 01:18 replication-notify-fifo srw------- 1 dovecot root 0 Feb 22 01:18 replicator srw-rw-rw- 1 dovecot root 0 Feb 22 01:18 replicator-doveadm srw-rw-rw- 1 root root 0 Feb 22 01:18 ssl-params srw------- 1 root root 0 Feb 22 01:18 stats prw-rw-rw- 1 root root 0 Feb 22 01:18 stats-mail prw------- 1 root root 0 Feb 22 01:18 stats-user drwxr-x--- 2 root dovenull 80 Feb 22 01:18 token-login root@pi:~/dovecot/dovecot-2.2#
Reuben
On Sun, 21 Feb 2016 10:03:15 +0100 Thomas Leuxner tlx@leuxner.net wrote:
[snip]
https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c88...
[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
On 21.02.2016 19:10, Steve Litt wrote:
On Sun, 21 Feb 2016 10:03:15 +0100 Thomas Leuxner tlx@leuxner.net wrote:
[snip]
https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c88... [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 We do not depend on systemd, but unit files are provided and automatically installed if enabled.
Aki
On 22/02/2016 17:14, Aki Tuomi wrote:
On 21.02.2016 19:10, Steve Litt wrote:
On Sun, 21 Feb 2016 10:03:15 +0100 Thomas Leuxner tlx@leuxner.net wrote:
[snip]
https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c88... [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 We do not depend on systemd, but unit files are provided and automatically installed if enabled.
Aki
That's excellent news, because hell will freeze over before systemd is introduced to official slackware releases
-- If you have the urge to reply to all rather than reply to list, you best first read http://members.ausics.net/qwerty/
On 02/22/2016 06:31 AM, Noel Butler wrote:
https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c88...
[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?
February 2016 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key We do not depend on systemd, but unit files are provided and automatically installed if enabled.
That's excellent news, because hell will freeze over before systemd is introduced to official slackware releases
Or Solaris, for that matter.
-Dave
-- Dave McGuire, AK4HZ New Kensington, PA
On February 22, 2016 at 7:22 PM Dave McGuire mcguire@neurotica.com wrote:
On 02/22/2016 06:31 AM, Noel Butler wrote:
https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c88...
[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?
February 2016 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key We do not depend on systemd, but unit files are provided and automatically installed if enabled.
That's excellent news, because hell will freeze over before systemd is introduced to official slackware releases
Or Solaris, for that matter.
-Dave
-- Dave McGuire, AK4HZ New Kensington, PA
Thank you for your feedback on this matter. We will keep this in mind.
Aki Tuomi
On 02/22/2016 01:27 PM, aki.tuomi@dovecot.fi wrote:
[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?
February 2016 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key We do not depend on systemd, but unit files are provided and automatically installed if enabled.
That's excellent news, because hell will freeze over before systemd is introduced to official slackware releases
Or Solaris, for that matter.
Thank you for your feedback on this matter. We will keep this in mind.
Thank you Aki.
-Dave
-- Dave McGuire, AK4HZ New Kensington, PA
On Mon, 22 Feb 2016 09:14:08 +0200 Aki Tuomi aki.tuomi@dovecot.fi wrote:
On 21.02.2016 19:10, Steve Litt wrote:
On Sun, 21 Feb 2016 10:03:15 +0100 Thomas Leuxner tlx@leuxner.net wrote:
[snip]
https://github.com/dovecot/core/commit/53cc71cae88ee81fd7eae47aed743496f8c88...
[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
We do not depend on systemd, but unit files are provided and automatically installed if enabled.Aki
Thanks Aki,
This was what I hoped to hear.
SteveT
Steve Litt February 2016 featured book: The Key to Everyday Excellence http://www.troubleshooters.com/key
participants (8)
-
Aki Tuomi
-
aki.tuomi@dovecot.fi
-
Dave McGuire
-
Noel Butler
-
Reuben Farrelly
-
Steve Litt
-
Thomas Leuxner
-
Timo Sirainen