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
> On February 21, 2016 at 2:31 PM Reuben Farrelly <reuben-dovecot at reub.net> > wrote: > > > 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 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. > > ReubenHi, where was your pid file located? --- Aki Tuomi
On 21/02/2016 11:35 PM, aki.tuomi at 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 TuomiIn /var/run/dovecot : root at 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 at pi:~/dovecot/dovecot-2.2# Reuben