Your message dated Fri, 29 May 2020 08:35:42 +0000
with message-id <e1jeauq-000bhr...@fasolo.debian.org>
and subject line Bug#960558: fixed in cyrus-imapd 3.2.1-3
has caused the Debian Bug report #960558,
regarding cyrus-common: lmtpd aborts when compiled with optimisation and
FORTIFY_SOURCE flags
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
960558: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960558
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cyrus-common
Version: 3.2.0-2
Severity: normal
Tags: upstream
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Today at 17:30-ish, my MTA (exim4) decided to generate a whole bunch of
"Mail delivery notifications" seemingly out of nowhere from mails that
have been delivered just fine. The smoking gun was found in the logs:
May 13 22:14:14 debian64 cyrus/lmtpunix[19567]: SQL backend defaulting to
engine 'pgsql'
May 13 22:14:14 debian64 cyrus/lmtpunix[19567]: executed
May 13 22:14:14 debian64 cyrus/lmtpunix[19567]: accepted connection
May 13 22:14:14 debian64 cyrus/lmtpunix[19567]: connection from [unix socket]
preauth'd as postman
May 13 22:14:14 debian64 cyrus/lmtpunix[19567]: fetching user_deny.db entry for
'chuck'
May 13 22:14:14 debian64 cyrus/lmtpunix[19567]: sieve_rebuild:
/var/spool/sieve/c/chuck/current.bc is up to date
May 13 22:14:14 debian64 cyrus/lmtpunix[19567]: dupelim: eliminated duplicate
message to 7fd93d5b49ad8704 id <1732507.0PFkBQmMn2@debian64> date Wed, 13 May
2020 22:07:15 +0200 (delivery)
May 13 22:14:14 debian64 cyrus/lmtpunix[19567]: USAGE chuck user: 0.006897 sys:
0.017243
May 13 22:14:14 debian64 cyrus/master[19518]: process type:SERVICE
name:lmtpunix path:/usr/lib/cyrus/bin/lmtpd age:0.050s pid:19567 signaled to
death by signal 6 (Aborted)
May 13 22:14:14 debian64 cyrus/master[19518]: service lmtpunix/unix pid 19567
in BUSY state: terminated abnormally
So, lmtp aborted on delivery. But somehow it managed to abort just after the
mails got delivered. This was very weird.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Well I was looking around. I got a error message: "*** invalid %N$ use detected
***" in the dumps
that gave me the right track and I hit "jackpot" and found this issue on github
of the main project:
<https://github.com/cyrusimap/cyrus-imapd/issues/1981>
(I copied the title from it!)
The issue explained it all. And I can confirm that after replacing the
SESSIONID=<%2$s> with SESSIONID=<%s>
---
--- imap/lmtp_err.et 2020-05-13 23:17:22.230378471 +0200
+++ imap/lmtp_err.et.orig 2020-05-13 23:16:57.583674949 +0200
@@ -45,7 +45,7 @@ error_table lmtp
# Enhanced Mail System Status Codes (RFC 3463)
ec LMTP_OK,
- "250 2.1.5 Ok SESSIONID=<%2$s>"
+ "250 2.1.5 Ok SESSIONID=<%s>"
ec LMTP_MAILBOX_ERROR,
"451 4.2.0 %s"
---
LMTP worked as intented (well, apart from that SESSIONID being a bit wrong...).
So, what to do? It seems the -DFORTIFY_SOURCE=2 is set by the build-system or
is there another way?
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, powerpc, mips, arm64
Kernel: Linux 5.7.0-rc2-wt+ (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_DE.UTF-8, LC_CTYPE=C.UTF-8 (charmap=locale: Cannot set
LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8), LANGUAGE=en_US:en (charmap=locale: Cannot set LC_MESSAGES to default
locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages cyrus-common depends on:
ii adduser 3.118
ii db-upgrade-util 5.3.1+nmu1
ii db-util 5.3.1+nmu1
ii debconf [debconf-2.0] 1.5.74
ii e2fsprogs 1.45.6-1
ii exim4-daemon-light [mail-transport-agent] 4.93-16
ii gawk 1:5.0.1+dfsg-1
ii init-system-helpers 1.57
ii libc6 2.30-8
ii libcap2 1:2.34-1
ii libclamav9 0.102.2+dfsg-2
ii libcom-err2 1.45.6-1
ii libgcc-s1 10.1.0-1
ii libical3 3.0.8-1
ii libicu63 63.2-3
ii libjansson4 2.12-1
ii libkrb5-3 1.17-7
ii libldap-2.4-2 2.4.50+dfsg-1
ii libpcre3 2:8.39-12+b1
ii libpq5 12.2-4
ii libsasl2-2 2.1.27+dfsg-2
ii libsasl2-modules 2.1.27+dfsg-2
ii libsnmp35 5.8+dfsg-2
ii libsqlite3-0 3.31.1-5
ii libssl1.1 1.1.1g-1
ii libstdc++6 10.1.0-1
ii libuuid1 2.35.1-5
ii libwrap0 7.6.q-30
ii libxapian30 1.4.15-1
ii libxml2 2.9.10+dfsg-5
ii libzephyr4 3.1.2-1+b3
ii lsb-base 11.1.0
ii netbase 6.1
ii perl 5.30.0-10
ii zlib1g 1:1.2.11.dfsg-2
Versions of packages cyrus-common recommends:
ii cyrus-caldav 3.2.0-2
ii cyrus-imapd 3.2.0-2
ii cyrus-murder 3.2.0-2
ii cyrus-pop3d 3.2.0-2
Versions of packages cyrus-common suggests:
ii apt-listchanges 3.22
pn cyrus-admin <none>
ii cyrus-caldav 3.2.0-2
ii cyrus-clients 3.2.0-2
pn cyrus-doc <none>
ii cyrus-imapd 3.2.0-2
ii cyrus-murder 3.2.0-2
pn cyrus-nntpd <none>
ii cyrus-pop3d 3.2.0-2
ii cyrus-replication 3.2.0-2
ii sasl2-bin 2.1.27+dfsg-2
-- Configuration Files:
/etc/cyrus.conf changed [not included]
/etc/imapd.conf changed [not included]
/etc/init.d/cyrus-imapd changed [not included]
/etc/logcheck/ignore.d.server/cyrus-imapd [Errno 13] Permission denied:
'/etc/logcheck/ignore.d.server/cyrus-imapd'
/etc/logcheck/violations.ignore.d/cyrus-common [Errno 13] Permission denied:
'/etc/logcheck/violations.ignore.d/cyrus-common'
/etc/logcheck/violations.ignore.d/cyrus-imapd [Errno 13] Permission denied:
'/etc/logcheck/violations.ignore.d/cyrus-imapd'
-- debconf information excluded
-- debsums errors found:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_CTYPE = "C.UTF-8",
LANG = "en_DE.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
--- End Message ---
--- Begin Message ---
Source: cyrus-imapd
Source-Version: 3.2.1-3
Done: Xavier Guimard <y...@debian.org>
We believe that the bug you reported is fixed in the latest version of
cyrus-imapd, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 960...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Xavier Guimard <y...@debian.org> (supplier of updated cyrus-imapd package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 29 May 2020 09:52:46 +0200
Source: cyrus-imapd
Architecture: source
Version: 3.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Cyrus Team <team+cy...@tracker.debian.org>
Changed-By: Xavier Guimard <y...@debian.org>
Closes: 960558
Changes:
cyrus-imapd (3.2.1-3) unstable; urgency=medium
.
* Back to unstable after successful tests (Closes: #960558)
Checksums-Sha1:
15e5207c3539fc717612a507b8d5288fc5e35313 5458 cyrus-imapd_3.2.1-3.dsc
9feebc18ecb9ac2b1f01cc2b5939c58a0491cc40 85528
cyrus-imapd_3.2.1-3.debian.tar.xz
Checksums-Sha256:
01171c9caf98a445a7f4a99118725e24c5aa4ca353eb980eecaa9c916e0086af 5458
cyrus-imapd_3.2.1-3.dsc
9297a7d6036e05337b8d63c1759f2fc8b31115d388e762ffde568cb55fcd855e 85528
cyrus-imapd_3.2.1-3.debian.tar.xz
Files:
d63effbf2c3317e9c95c68fc649d274e 5458 mail optional cyrus-imapd_3.2.1-3.dsc
edfccb790b970c9d45a27a848b6da02b 85528 mail optional
cyrus-imapd_3.2.1-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIyBAEBCgAdFiEEAN/li4tVV3nRAF7J9tdMp8mZ7ukFAl7QwO8ACgkQ9tdMp8mZ
7ukZHQ/2P/+j+sh8DZwq0lA5lYeCmqoyGNTDtTr1p8CA6CKIBLcWPztimYqgfRHm
Gm3MPKJMMcjmjZpcwT2a/7oAdt5v5M9RxFjKnZMbc0TwvKCbD7Skbo6XP+2wDd1b
H8rDX/kpxrCqpxfrMLJ62Au8wVUUq+EzyTfK1apk5S8ZsARPFSuSiZKh0+iTmnPS
0x+1hX5p/59lbYxm3q6YeC1bdEkXQ+LCttXruBul0scXgln6KinCAed3vwDIa6cI
GJpbJrzqAMX/7X9Mozbs10LhhPJLbqKCWZTeN7SzcyV0xzlmUDp6bE/7y4Xpxxhn
qZBg5+cAH20OBlX3ycTaUWLnwYNvyAxs/73lHS4PBUVreM2KOwWC/hS1t4EPtcMc
HUUyZq7BjbymLpftuOgrebrURcLeWrB1ZsD6kSd0T0SFDoXAsXrsFWJfVnG7WYa+
VrfWngGGitJx2DZzjTOYSaJS6iD6nJwQsLIRGZyt/F1iqZE13EXQUjucgC1qTy1N
5xFShlcbllc/Qfla8phg7hVClxryneZ0y3PgY89xQ7okvrcA9hoajNihpBZWwAPs
DjIfJQq1mEa8zk6UdZddIH/jAyPINPB6fA59KV4PxFa5fwlh1Em4epmyml5+3sKC
Py2P9DPeVRgxK1KPOEIT/9ZElzjDpBcuDRHMyfAMrmTOjEEctg==
=4exg
-----END PGP SIGNATURE-----
--- End Message ---