Package: dovecot-core Version: 1:2.3.4.1-5 Severity: normal Tags: upstream Hello,
After upgrading a server to buster, dovecot was upgraded to 1:2.3.4.1-5, and /usr/lib/dovecot/maildirlock now complains that it did not get a timeout parameter (although I did pass the argument). How to reproduce: Create a maildir somewhere. $ /usr/lib/dovecot/maildirlock PATH_TO_MAILDIR 100 Panic: BUG: No IOs or timeouts set. Not waiting for infinity. 6169Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xdb13b) [0x7fe73d3e313b] -> /usr/lib/dovecot/libdovecot.so.0(+0xdb171) [0x7fe73d3e3171] -> /usr/lib/dovecot/libdovecot.so.0(+0x4a001) [0x7fe73d352001] -> /usr/lib/dovecot/libdovecot.so.0(+0xf070c) [0x7fe73d3f870c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0x36) [0x7fe73d3faae6] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x4c) [0x7fe73d3f968c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x40) [0x7fe73d3f97f0] -> /usr/lib/dovecot/maildirlock(main+0x1bd) [0x55761fb7741d] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb) [0x7fe73d0fc09b] -> /usr/lib/dovecot/maildirlock(_start+0x2a) [0x55761fb7752a] The "6169" before the "Error" string is the PID of the program that holds the lock. I expected it to work as it did before the upgrade -- it would only return the PID. I also tried $ /usr/lib/dovecot/maildirlock PATH_TO_MAILDIR 100 from two different terminals, at roughly the same time, and both succeeded (I expected the second to have to wait before the first one finished, after 100 seconds -- this was the behavior before the upgrade). Also triedon a sid box (same version), just to check if any different libs would make a difference, but found the same bug. maildirlock is documented in Dovecot's manual, in this page: https://wiki2.dovecot.org/Plugins/Zlib Thank you! J. -- Package-specific info: dovecot configuration --------------------- # 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf # Pigeonhole version 0.5.4 () # OS: Linux 4.19.0-5-amd64 x86_64 Debian bullseye/sid # Hostname: socrates.lan mail_location = mbox:~/mail:INBOX=/var/mail/%u mail_privileged_group = mail namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { driver = pam } ssl_cert = </etc/dovecot/private/dovecot.pem ssl_client_ca_dir = /etc/ssl/certs ssl_dh = # hidden, use -P to show it ssl_key = # hidden, use -P to show it userdb { driver = passwd } -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages dovecot-core depends on: ii adduser 3.118 ii libapparmor1 2.13.2-10 ii libbz2-1.0 1.0.6-9.2 ii libc6 2.28-10 ii libexttextcat-2.0-0 3.4.5-1 ii libicu63 63.1-4 ii liblua5.3-0 5.3.3-1.1+b1 ii liblz4-1 1.8.3-1 ii liblzma5 5.2.2-1.3 ii libpam-runtime 1.3.1-5 ii libpam0g 1.3.1-5 ii libsodium23 1.0.17-1 ii libssl1.1 1.1.1c-1 ii libstemmer0d 0+svn585-1+b2 ii libwrap0 7.6.q-28 ii lsb-base 10.2019051400 ii openssl 1.1.1c-1 ii ssl-cert 1.0.39 ii ucf 3.0038+nmu1 ii zlib1g 1:1.2.11.dfsg-1 dovecot-core recommends no packages. Versions of packages dovecot-core suggests: pn dovecot-gssapi <none> pn dovecot-imapd <none> pn dovecot-ldap <none> pn dovecot-lmtpd <none> pn dovecot-lucene <none> pn dovecot-managesieved <none> pn dovecot-mysql <none> pn dovecot-pgsql <none> pn dovecot-pop3d <none> pn dovecot-sieve <none> pn dovecot-solr <none> pn dovecot-sqlite <none> pn dovecot-submissiond <none> ii ntp 1:4.2.8p13+dfsg-2 Versions of packages dovecot-core is related to: ii dovecot-core [dovecot-common] 1:2.3.4.1-5 pn dovecot-dev <none> pn dovecot-gssapi <none> pn dovecot-imapd <none> pn dovecot-ldap <none> pn dovecot-lmtpd <none> pn dovecot-managesieved <none> pn dovecot-mysql <none> pn dovecot-pgsql <none> pn dovecot-pop3d <none> pn dovecot-sieve <none> pn dovecot-sqlite <none>