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

Bug#826120: marked as done (sendmail queue runner dies due to an assertion violation in libldap)



Your message dated Sun, 03 Jul 2016 16:51:54 +0000
with message-id <E1bJkcc-000638-UU@franck.debian.org>
and subject line Bug#826120: fixed in sendmail 8.14.4-8+deb8u1
has caused the Debian Bug report #826120,
regarding sendmail queue runner dies due to an assertion violation in libldap
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 owner@bugs.debian.org
immediately.)


-- 
826120: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826120
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: sendmail
Version: 8.14.4-8
Severity: grave
Justification: causes non-serious data loss

Dear Maintainer,

running the sendmail-queue leads reproducibly to crashes with error message
error.c:255: ldap_parse_result: Assertion `r != ((void *)0)' failed.

This happens on connections to external smtp-servers which are slowly or not at all responding.
As a result, unsent messages pile up in the queue, including those which do not show the error themselves.

The same bug has been reported and fixed on RedHat-Linux with package sendmail-8.14.4-9.el6, see https://access.redhat.com/solutions/1979993
Could it be possible to implement this fix also on debian?

Thanks alot and best regards,
Andreas


-- Package-specific info:
Output of /usr/share/bug/sendmail/script:

ls -alR /etc/mail:
/etc/mail:
total 316
drwxr-sr-x 1 smmta smmsp   896 Jun  1 11:29 .
drwxr-xr-x 1 root  root   3016 Jun  2 13:24 ..
-rwxr-xr-- 1 root  smmsp 13786 May 25 15:09 Makefile
-rw------- 1 root  root  14236 May 30 13:33 access
-rw-r----- 1 smmta smmsp 24576 May 30 13:33 access.db
-rw-r--r-- 1 root  root    281 Oct  2  2014 address.resolve
lrwxrwxrwx 1 root  smmsp    10 May 25 13:59 aliases -> ../aliases
-rw-r----- 1 smmta smmsp 12288 May 25 15:09 aliases.db
-rw-r--r-- 1 root  root   3985 May 25 15:09 databases
-rw-r----- 1 smmta smmsp    58 May 25 13:59 default-auth-info
-rw-r--r-- 1 root  smmsp     0 May 25 13:59 generics-domains
-rw-r----- 1 root  smmsp     0 May 25 13:59 genericstable
-rw-r----- 1 root  smmsp 12288 May 25 15:09 genericstable.db
-rw-r--r-- 1 root  root   5657 Oct  2  2014 helpfile
-r-------- 1 root  smmsp     9 May 25 14:03 ldap-pass
-rw-r--r-- 1 smmta smmsp   705 May 30 16:31 ldap-route-domains
-rw-r--r-- 1 root  smmsp    37 May 25 13:59 local-host-names
drwxr-sr-x 1 smmta smmsp    40 May 25 13:59 m4
-rw-r----- 1 root  smmsp   205 May 25 14:03 mailertable
-rw-r----- 1 root  smmsp 12288 May 25 15:09 mailertable.db
-rw-r----- 1 smmta smmsp  4689 May 25 15:05 milter-limit.cf
-rw-r----- 1 smmta smmsp  3503 May 25 15:05 milter-limit.mc
-rw-r----- 1 smmta smmsp    53 May 25 14:00 milter-null.cf
-rw-r----- 1 smmta smmsp  2613 May 25 14:00 milter-null.mc
drwxr-xr-x 1 root  root     16 May 25 13:59 peers
-rw-r--r-- 1 smmta smmsp     0 May 30 16:45 relay-domains
drwxr-xr-x 1 smmta smmsp    44 May 25 13:59 sasl
-rw-r--r-- 1 root  smmsp 74393 May 25 15:09 sendmail.cf
-rw-r--r-- 1 root  root  12302 Jun  1 20:14 sendmail.conf
-rw-r--r-- 1 root  smmsp  5968 May 25 15:09 sendmail.mc
-rw-r--r-- 1 root  root    149 Oct  2  2014 service.switch
-rw-r--r-- 1 root  root    180 Oct  2  2014 service.switch-nodns
drwxr-sr-x 1 smmta smmsp    36 May 25 14:51 smrsh
lrwxrwxrwx 1 root  root     15 Jan 31  2015 spamassassin -> ../spamassassin
-rw-r--r-- 1 root  smmsp 44007 May 25 15:09 submit.cf
-rw-r--r-- 1 root  smmsp  2374 May 25 15:09 submit.mc
drwxr-xr-x 1 smmta smmsp   584 Jun  1 07:45 tls
-rw-r--r-- 1 root  smmsp     0 May 25 13:59 trusted-users
-rw-r----- 1 root  smmsp     0 May 25 14:03 virtuserdomains
-rw-r----- 1 root  smmsp     0 May 25 13:59 virtusertable
-rw-r----- 1 root  smmsp 12288 May 25 15:09 virtusertable.db

/etc/mail/m4:
total 0
drwxr-sr-x 1 smmta smmsp  40 May 25 13:59 .
drwxr-sr-x 1 smmta smmsp 896 Jun  1 11:29 ..
-rw-r----- 1 root  smmsp   0 May 25 13:59 dialup.m4
-rw-r----- 1 root  smmsp   0 May 25 13:59 provider.m4

/etc/mail/peers:
total 4
drwxr-xr-x 1 root  root   16 May 25 13:59 .
drwxr-sr-x 1 smmta smmsp 896 Jun  1 11:29 ..
-rw-r--r-- 1 root  root  328 Oct  2  2014 provider

/etc/mail/sasl:
total 8
drwxr-xr-x 1 smmta smmsp   44 May 25 13:59 .
drwxr-sr-x 1 smmta smmsp  896 Jun  1 11:29 ..
-rw-r----- 1 smmta smmsp  909 May 25 13:59 Sendmail.conf.2
-rwxr--r-- 1 root  root  3674 May 25 15:09 sasl.m4

/etc/mail/smrsh:
total 8
drwxr-sr-x 1 smmta smmsp  36 May 25 14:51 .
drwxr-sr-x 1 smmta smmsp 896 Jun  1 11:29 ..
lrwxrwxrwx 1 root  smmsp  26 May 25 13:59 mail.local -> /usr/lib/sm.bin/mail.local
lrwxrwxrwx 1 root  smmsp  17 May 25 14:51 procmail -> /usr/bin/procmail

/etc/mail/tls:
total 56
drwxr-xr-x 1 smmta smmsp  584 Jun  1 07:45 .
drwxr-sr-x 1 smmta smmsp  896 Jun  1 11:29 ..
-rw-r--r-- 1 root  root     7 May 25 13:59 no_prompt
-rw------- 1 root  root  1191 May 25 13:59 sendmail-client.cfg
lrwxrwxrwx 1 root  root    44 Jun  1 07:45 sendmail-client.crt -> /etc/mail/tls/vhrz492.HRZ.Uni-Marburg.DE.pem
-rw------- 1 root  root  1041 May 25 13:59 sendmail-client.csr
lrwxrwxrwx 1 root  root    44 Jun  1 07:45 sendmail-common.key -> /etc/mail/tls/vhrz492.HRZ.Uni-Marburg.DE.key
-rw-r----- 1 root  smmsp 1598 May 25 13:59 sendmail-common.prm
-rw------- 1 root  root  1191 May 25 13:59 sendmail-server.cfg
lrwxrwxrwx 1 root  root    44 Jun  1 07:45 sendmail-server.crt -> /etc/mail/tls/vhrz492.HRZ.Uni-Marburg.DE.pem
-rw------- 1 root  root  1041 May 25 13:59 sendmail-server.csr
-rwxr--r-- 1 root  root  3249 May 25 15:09 starttls.m4
-r-------- 1 root  smmsp 1678 May 27 11:25 vhrz167.HRZ.Uni-Marburg.DE.key
-rw-r--r-- 1 root  smmsp 2207 May 27 11:25 vhrz167.HRZ.Uni-Marburg.DE.pem
-r-------- 1 root  smmsp 1678 Jun  1 07:45 vhrz492.HRZ.Uni-Marburg.DE.key
-rw-r--r-- 1 root  smmsp 2207 Jun  1 07:45 vhrz492.HRZ.Uni-Marburg.DE.pem

sendmail.conf:
DAEMON_NETMODE="Static";
DAEMON_NETIF="eth0";
DAEMON_MODE="Daemon";
DAEMON_PARMS="-O deliverymode=queueonly -O queuedirectory=/var/spool/mqueue/in";
DAEMON_HOSTSTATS="Yes";
DAEMON_MAILSTATS="Yes";
QUEUE_MODE="${DAEMON_MODE}";
QUEUE_INTERVAL="10m";
QUEUE_PARMS="";
MSP_MODE="Cron";
MSP_INTERVAL="20m";
MSP_PARMS="";
MSP_MAILSTATS="${DAEMON_MAILSTATS}";
MISC_PARMS="";
CRON_MAILTO="root";
CRON_PARMS="";
LOG_CMDS="No";
HANDS_OFF="No";
AGE_DATA="";
DAEMON_RUNASUSER="No";
DAEMON_STATS="${DAEMON_MAILSTATS}";
MSP_STATS="${MSP_MAILSTATS}";


sendmail.mc:
divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc, v 8.14.3-9.4 2010-09-21 11:05:34 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-mta')dnl
FEATURE(`no_default_msa')dnl
define(`confPRIVACY_FLAGS',dnl
`needmailhelo,needexpnhelo,needvrfyhelo,restrictqrun,restrictexpand,nobodyreturn,authwarnings')dnl
define(`confCONNECTION_RATE_THROTTLE', `15')dnl
define(`confCONNECTION_RATE_WINDOW_SIZE',`10m')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(`greet_pause', `1000')dnl 1 seconds
FEATURE(`delay_checks', `friend', `n')dnl
define(`confBAD_RCPT_THROTTLE',`3')dnl
FEATURE(`conncontrol', `nodelay', `terminate')dnl
FEATURE(`ratecontrol', `nodelay', `terminate')dnl
include(`/etc/mail/m4/dialup.m4')dnl
include(`/etc/mail/m4/provider.m4')dnl
define(`confMAX_HOP',`100')dnl
DAEMON_OPTIONS(`Port=587, Addr=0.0.0.0, Name=TLSMSA, Modify=Ea')dnl
DAEMON_OPTIONS(`Port=smtps, Addr=0.0.0.0, Name=SSLMSA, Modify=Eas')dnl
include(`/etc/mail/sasl/sasl.m4')dnl
define(`confAUTH_OPTIONS', `py')dnl
GENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl
FEATURE(`genericstable')dnl
FEATURE(`mailertable')dnl
FEATURE(`virtusertable')dnl
VIRTUSER_DOMAIN_FILE(`-o /etc/mail/virtuserdomains')dnl
FEATURE(blacklist_recipients)dnl
FEATURE(no_default_msa)dnl
FEATURE(`ldap_routing',`ldap -1 -T<TMPF> -v mailHost -k (&(objectClass=inetLocalMailRecipient)(mailLocalAddress=%0))',`ldap -1 -T<TMPF> -v mailRoutingAddress -k (&(objectClass=inetLocalMailRecipient)(mailLocalAddress=%0))',`bounce')dnl
DAEMON_OPTIONS(`Port=smtp, Addr=0.0.0.0, Name=MSA')dnl
MAILER_DEFINITIONS
MAILER(local)dnl
MAILER(smtp)dnl
LOCAL_CONFIG
include(`/etc/mail/tls/starttls.m4')dnl
define(`confTO_QUEUEWARN',`1d')dnl
define(`SMTP_MAILER_MAX', `100000000')dnl
define(`LOCAL_MAILER_MAX', `100000000')dnl
define(`confMAX_MESSAGE_SIZE', `100000000')dnl
define(`QUEUE_DIR', `/var/spool/mqueue/out')dnl
define(`confHOST_STATUS_DIRECTORY', `')dnl
define(`confTO_IDENT', `0')dnl
LDAPROUTE_DOMAIN_FILE(`/etc/mail/ldap-route-domains')dnl
define(`confLDAP_DEFAULT_SPEC', `-h "localhost:3890" -b"ou=MailRouting,o=Universitaet Marburg,c=DE" -d "uid=mailrouter,ou=Proxy,o=Universitaet Marburg,c=DE" -Msimple -P"/etc/mail/ldap-pass" -ssub -w3')dnl
include(`/etc/mail/milter-null.mc')dnl
include(`/etc/mail/milter-limit.mc')dnl

submit.mc...
divert(-1)dnl
divert(0)dnl
define(`_USE_ETC_MAIL_')dnl
include(`/usr/share/sendmail/cf/m4/cf.m4')dnl
VERSIONID(`$Id: submit.mc, v 8.14.4-4 2013-02-11 11:12:33 cowboy Exp $')
OSTYPE(`debian')dnl
DOMAIN(`debian-msp')dnl
FEATURE(`msp', `[127.0.0.1]', `25')dnl


-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sendmail depends on:
ii  sendmail-base  8.14.4-8
ii  sendmail-bin   8.14.4-8
ii  sendmail-cf    8.14.4-8
ii  sensible-mda   8.14.4-8

sendmail recommends no packages.

Versions of packages sendmail suggests:
pn  rmail         <none>
pn  sendmail-doc  <none>

Versions of packages sensible-mda depends on:
ii  libc6                                2.19-18+deb8u4
ii  procmail                             3.22-24
ii  sendmail-bin [mail-transport-agent]  8.14.4-8

Versions of packages libmilter1.0.1 depends on:
ii  libc6              2.19-18+deb8u4
ii  multiarch-support  2.19-18+deb8u4

Versions of packages sendmail-bin depends on:
ii  debconf        1.5.56
ii  libc6          2.19-18+deb8u4
ii  libdb5.3       5.3.28-9
ii  libldap-2.4-2  2.4.40+dfsg-1+deb8u2
ii  liblockfile1   1.09-6
ii  libsasl2-2     2.1.26.dfsg1-13+deb8u1
ii  libssl1.0.0    1.0.1k-3+deb8u5
ii  libwrap0       7.6.q-25
ii  procps         2:3.3.9-9
ii  sendmail-base  8.14.4-8
ii  sendmail-cf    8.14.4-8

Versions of packages sendmail-bin suggests:
ii  libsasl2-modules  2.1.26.dfsg1-13+deb8u1
ii  openssl           1.0.1k-3+deb8u5
ii  sasl2-bin         2.1.26.dfsg1-13+deb8u1
pn  sendmail-doc      <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: sendmail
Source-Version: 8.14.4-8+deb8u1

We believe that the bug you reported is fixed in the latest version of
sendmail, 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 826120@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Beckmann <anbe@debian.org> (supplier of updated sendmail 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 30 Jun 2016 19:44:19 +0200
Source: sendmail
Binary: sendmail-bin rmail sensible-mda libmilter1.0.1 libmilter1.0.1-dbg libmilter-dev sendmail-doc sendmail sendmail-base sendmail-cf
Architecture: source all
Version: 8.14.4-8+deb8u1
Distribution: jessie
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Andreas Beckmann <anbe@debian.org>
Description:
 libmilter-dev - Sendmail Mail Filter API (Milter) (development files)
 libmilter1.0.1 - Sendmail Mail Filter API (Milter)
 libmilter1.0.1-dbg - Sendmail Mail Filter API (Milter) (debug symbols)
 rmail      - MTA->UUCP remote mail handler
 sendmail   - powerful, efficient, and scalable Mail Transport Agent (metapacka
 sendmail-base - powerful, efficient, and scalable Mail Transport Agent (arch inde
 sendmail-bin - powerful, efficient, and scalable Mail Transport Agent
 sendmail-cf - powerful, efficient, and scalable Mail Transport Agent (config ma
 sendmail-doc - powerful, efficient, and scalable Mail Transport Agent (documenta
 sensible-mda - Mail Delivery Agent wrapper
Closes: 826120
Changes:
 sendmail (8.14.4-8+deb8u1) jessie; urgency=medium
 .
   * QA upload.
   * Cherry-pick some patches from RHEL 6: RHBA-2015:1299-3
   * sendmail-8.14.4-client-port.patch: sendmail {client_port} not set
     correctly on little endian machines (8.15.1).
   * sendmail-8.14.4-ldap-fix.patch: do not abort with an assertion if the
     connection to an LDAP server is lost (8.14.5).  (Closes: #826120)
Checksums-Sha1:
 20a8c8ed56976a1d0cdcba720dbcb0c556d6b9e1 2633 sendmail_8.14.4-8+deb8u1.dsc
 57f98bd3bed73bc0a4ae11bfbca5c6c3edaf16f1 395708 sendmail_8.14.4-8+deb8u1.debian.tar.xz
 885eadecd8598b930bf08932263958b9f8beaaea 860072 sendmail-doc_8.14.4-8+deb8u1_all.deb
 d3925201da60c5db3e688c5e555a38a882e88076 217032 sendmail_8.14.4-8+deb8u1_all.deb
 9c5d4c996e8dadf5dcf68b0594d2d37a37a14820 338772 sendmail-base_8.14.4-8+deb8u1_all.deb
 e018e6c75ecd2b5e73ed0cc13c87553287a9f93a 286120 sendmail-cf_8.14.4-8+deb8u1_all.deb
Checksums-Sha256:
 7905979c082e448532fc97117a9ebefd0786ceacc5dd7ec9e9b217d31b6aa671 2633 sendmail_8.14.4-8+deb8u1.dsc
 f96cc4ee67802ac029dd7a271777945d6ab5c1b53f97b1f36e23437f8cf655b9 395708 sendmail_8.14.4-8+deb8u1.debian.tar.xz
 567a10f5f0c121f2bb0ba48dc118d9301c360322c156e5118bc6070b691760d7 860072 sendmail-doc_8.14.4-8+deb8u1_all.deb
 8e23689d5d7b2174f1a66c1d26e85736e9f04dc2aca4f911426add6620224f74 217032 sendmail_8.14.4-8+deb8u1_all.deb
 650fae36c16f0839776a8d40a8384d4b4647f533daf73cc68652e54679a99177 338772 sendmail-base_8.14.4-8+deb8u1_all.deb
 815bc41241b112a2ee55ca9b079400227c3070aac16850bfb9ba54b1f0b63a83 286120 sendmail-cf_8.14.4-8+deb8u1_all.deb
Files:
 61b30f5c4773fc1851f123737dfde09a 2633 mail extra sendmail_8.14.4-8+deb8u1.dsc
 97c54410f5c7e5e67c1bdfc75efe1616 395708 mail extra sendmail_8.14.4-8+deb8u1.debian.tar.xz
 768e3c15d519693553ae75b6e1eee835 860072 doc extra sendmail-doc_8.14.4-8+deb8u1_all.deb
 8e8a0602d914980c6ba78ea7e4f6fbaa 217032 mail extra sendmail_8.14.4-8+deb8u1_all.deb
 62d3bcaf16d0d45c173572772293c146 338772 mail extra sendmail-base_8.14.4-8+deb8u1_all.deb
 ad5243d207aa36cc6ee9504cf11b69d3 286120 mail extra sendmail-cf_8.14.4-8+deb8u1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXdWCCAAoJEF+zP5NZ6e0I3ogP/iv/Va0neuYUPnqn1XsOgES1
JglHeBNSA7ZV7eAlr+838Dg+BuD8BDp9olgdP2hmtku3f4Rb1uW9EBCz+4ZuN4+s
AJOgxmMhMlgj3P56biIrqRnRUefWfHW/gUzT4XBo8z7Pu3oCjIX+zcDeqhF48DHb
vPXTkFYhnmduGA1R78ZvBSKRFyXyjnAjJxGBymPdDGB8vSph3F4Z0g85s+TQMLH4
117AIpMaoMg9vkLnrroLkZuIAeU/uYG3p2+zJ8IHXz4YD+77Pfb4EZl9FKxWVnc1
xyhQX02hQdP60hJXl7mwanm4JsxhF/MnZjGArHuWqgMrgdhG6Kn3LyVbvgvB4etb
1O4uw3D+utaDf80ohCe9CunOKCQfB82MyxdWxQqObjdKMZieZsv3UeO+Gt39Fy2V
OjctGSa4DPLrgdZMojQhiHa7Wkf5CbBZbGLiDlQL8j2Ol+lq0d49NYmk230+OgST
6f3wJLogComMZWTbtBJdTjtSkvIU8XGx2ejEoBDBZcXlnVhJZLh9sD55XVaIyvTn
RT+MZ8mq15k/nnf8uDPuKB2A+c5FL11eJx4EKECl67IpOTKbyydIyySepKImKbnF
81/VEr0HF6ciHnJcsFKNZockQlupBUekWUVzjNwaz0a3O0rLzTuj72Zadgd+UmT0
Af0DGbVrdKaYD7d3cAqS
=WuRw
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: