[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dovecot Update Fails on Jessie



Hi Mike,

 

many thanks for your reply.

 

I do not see anything dramatic on this machine, I also assume that 2GB free harddisk space are enough for the upgrade:

 

rd@netcup:~$ ls -l /var/run/dovecot
total 12
srw------- 1 root    root       0 Aug 31 09:49
anvil
srw------- 1 root    root       0 Aug 31 09:49
anvil-auth-penalty
srw------- 1 dovecot root       0 Aug 31 09:49
auth-client
srw------- 1 dovecot root       0 Aug 31 09:49
auth-login
srw------- 1 root    root       0 Aug 31 09:49
auth-master
-rw------- 1 root    root      32 Jul 26 10:52 auth-token-secret.dat
srw-rw-rw- 1 dovecot root       0 Aug 31 09:49
auth-userdb
srw------- 1 dovecot root       0 Aug 31 09:49
auth-worker
srw------- 1 root    root       0 Aug 31 09:49
config
srw------- 1 root    root       0 Aug 31 09:49
dict
srw------- 1 root    root       0 Aug 31 09:49
director-admin
srw------- 1 root    root       0 Aug 31 09:49
director-userdb
srw-rw-rw- 1 root    root       0 Aug 31 09:49
dns-client
srw------- 1 root    root       0 Aug 31 09:49
doveadm-server
lrwxrwxrwx 1 root    root      25 Aug 31 09:49
dovecot.conf -> /etc/dovecot/dovecot.conf
drwxr-xr-x 2 root    root      40 Jul 26 10:51
empty
srw-rw-rw- 1 root    root       0 Aug 31 09:49
imap-urlauth
srw------- 1 dovecot root       0 Aug 31 09:49
imap-urlauth-worker
srw-rw-rw- 1 root    root       0 Aug 31 09:49
indexer
srw------- 1 dovecot root       0 Aug 31 09:49
indexer-worker
srw------- 1 root    root       0 Aug 31 09:49
ipc
srw------- 1 root    root       0 Aug 31 09:49
log-errors
drwxr-x--- 2 root    dovenull 140 Aug 31 09:49
login
-rw------- 1 root    root       6 Aug 31 09:49 master.pid
-rw-r--r-- 1 root    root      50 Aug 31 09:49 mounts
srw------- 1 root    root       0 Aug 31 09:49
replication-notify
prw------- 1 root    root       0 Aug 31 09:49
replication-notify-fifo
srw------- 1 dovecot root       0 Aug 31 09:49
replicator
srw-rw-rw- 1 root    root       0 Aug 31 09:49
ssl-params
srw------- 1 root    root       0 Aug 31 09:49
stats
prw------- 1 root    root       0 Aug 31 09:49
stats-mail
drwxr-x--- 2 root    dovenull  80 Aug 31 09:49
token-login
rd@netcup:~$ watch ls -l /var/run/dovecot
rd@netcup:~$ ls -ld /var/run/dovecot/       
drwxr-xr-x 5 root root 680 Aug 31 09:49
/var/run/dovecot/
rd@netcup:~$ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev               10240        0     10240   0% /dev
tmpfs             203900    21944    181956  11% /run
/dev/vda2       55884132 51009048   2013212  97% /
tmpfs             509748        0    509748   0% /dev/shm
tmpfs               5120        0      5120   0% /run/lock
tmpfs             509748        0    509748   0% /sys/fs/cgroup
tmpfs             101952        0    101952   0% /run/user/2809
rd@netcup:~$

Also dovecot work (I received your email through that installation), my interpretation is that the install failed early enough (pre-rm script):

 

rd@netcup:~$ apt-cache policy dovecot-imapd

dovecot-imapd:

Installed: 1:2.2.13-12~deb8u6

Candidate: 1:2.2.13-12~deb8u7

Version table:

1:2.2.13-12~deb8u7 0

500 http://security.debian.org/ jessie/updates/main amd64 Packages

*** 1:2.2.13-12~deb8u6 0

100 /var/lib/dpkg/status

1:2.2.13-12~deb8u4 0

500 http://deb.debian.org/debian/ jessie/main amd64 Packages

rd@netcup:~$

 

Kind regards

Rainer

 

Am Samstag, 31. August 2019, 17:10:49 CEST schrieb Mike Gabriel:

> Hi Rainer,

>

> On Sa 31 Aug 2019 09:52:47 CEST, Rainer Dorsch wrote:

> > It almost looks to me that dovecot restarts itself (?)

> >

> > Aug 31 09:49:13 netcup systemd[1]: Stopping Dovecot IMAP/POP3 email

> > server... Aug 31 09:49:13 netcup dovecot[12165]: anvil: Warning: Killed

> > with signal 15 (by pid=1 uid=0 code=kill)

> > Aug 31 09:49:13 netcup dovecot[12165]: auth: Error:

> > read(anvil-auth-penalty) failed: EOF

> > Aug 31 09:49:13 netcup dovecot[12165]: auth: Error:

> > net_connect_unix(anvil-

> > auth-penalty) failed: Permission denied

> > Aug 31 09:49:13 netcup dovecot[12165]: imap-login: Error: read(anvil)

> > failed: EOF

> > Aug 31 09:49:13 netcup dovecot[12165]: imap-login: Error: read(anvil)

> > failed: EOF

> > Aug 31 09:49:13 netcup dovecot[12165]: imap: Server shutting down. in=160

> > out=105576

> > Aug 31 09:49:13 netcup dovecot[12165]: imap: Server shutting down. in=141

> > out=1696

> > Aug 31 09:49:13 netcup systemd[1]: Stopped Dovecot IMAP/POP3 email server.

> > Aug 31 09:49:13 netcup systemd[1]: Starting Dovecot IMAP/POP3 email

> > server... Aug 31 09:49:13 netcup systemd[1]: Started Dovecot IMAP/POP3

> > email server. Aug 31 09:49:13 netcup dovecot[12180]: master: Dovecot

> > v2.2.13

> > starting up for

> > imap, sieve (core dumps disabled)

>

> Can you check on /var/run/dovecot and see if those socket files [1]

> appear / do not appear (they might possibly come and go rapidly, so

> you need to be a trickster using the watch tool, maybe? Please also

> let me know what permissions these files have.

>

> Could it be possible by any reason, that /var/run/dovecot is either

> read-only or out-of-space?

>

> From what I can tell (I looked at the diff between ~deb8u6 and

> ~deb8u7 and your console output), your issue may be conincidental with

> the upgrade of the dovecot package in jessie LTS. I am not saying that

> it is, but it could be. So let's better checkout if something outside

> of dovecot might be causing this issue.

>

> I have also attached the changes between ~deb8u6 and ~deb8u7 for

> review by yourself or others. I could not spot anything in the

> security patches applied that might cause such a severe issue as your

> report.

>

> It would be interesting if downgrading dovecot back to ~deb8u6 [3]

> might get this system back into a usable state. If dovecot is the

> cause of your issue, it very probably will. If not, then something

> else is going on.

>

> Greets,

> Mike

>

> [1] anvil, anvil-auth-penalty

> [2] dovecot_2.2.13-12~deb8u6_2.2.13-12~deb8u7.debdiff

> [3]

> http://snapshot.debian.org/package/dovecot/1%3A2.2.13-12%7Edeb8u6/#binpkgs

 

 

--

Rainer Dorsch

http://bokomoko.de/


Reply to: