Bug#528040: sasl2-bin: segfault on upgrade -> fails to configure.

Andreas Henriksson andreas at fatal.se
Sun May 10 13:48:03 UTC 2009


Package: sasl2-bin
Version: 2.1.22.dfsg1-24
Severity: serious
Justification: breaks upgrade

When upgrading sasl2-bin a segfault occured:

Setting up sasl2-bin (2.1.22.dfsg1-24) ...
DB->get: method not permitted before handle's open method
/var/lib/dpkg/info/sasl2-bin.postinst: line 17: 21765 Done                    echo '!'
     21766 Segmentation fault      | saslpasswd2 -c 'no:such:user'
dpkg: error processing sasl2-bin (--configure):
 subprocess post-installation script returned error exit status 139


Trying to recover (or reproduce the segfault) by aptitude install -f leads
to configuration failure:

Setting up sasl2-bin (2.1.22.dfsg1-24) ...
dpkg: error processing sasl2-bin (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sasl2-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up sasl2-bin (2.1.22.dfsg1-24) ...
dpkg: error processing sasl2-bin (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sasl2-bin


The following debconf dialog is shown:

  ┌────────────────────────┤ Configuring sasl2-bin ├─────────────────────────┐
  │                                                                          │ 
  │ Failed to back up /etc/sasldb2                                           │ 
  │                                                                          │ 
  │ The /etc/sasldb2 file could not be backed up with the file name you      │ 
  │ specified.                                                               │ 
  │                                                                          │ 
  │ This is a fatal error and will cause the package installation to fail.   │ 
  │                                                                          │ 
  │ Please eliminate all possible reasons that might lead to this failure,   │ 
  │ and try to configure this package again.                                 │ 
  │                                                                          │ 
  │                                  <Ok>                                    │ 


... I have not specified anything at all and the debconf dialog really doesn't
give me any help at all about where to start looking for the problem.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (300, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sasl2-bin depends on:
ii  db4.7-util               4.7.25-6        Berkeley v4.7 Database Utilities
ii  debconf [debconf-2.0]    1.5.26          Debian configuration management sy
ii  libc6                    2.9-12          GNU C Library: Shared libraries
ii  libcomerr2               1.41.5-1        common error description library
ii  libdb4.6                 4.6.21-13       Berkeley v4.6 Database Libraries [
ii  libgssapi-krb5-2         1.7dfsg~beta1-4 MIT Kerberos runtime libraries - k
ii  libk5crypto3             1.7dfsg~beta1-4 MIT Kerberos runtime libraries - C
ii  libkrb5-3                1.7dfsg~beta1-4 MIT Kerberos runtime libraries
ii  libkrb5support0          1.7dfsg~beta1-4 MIT Kerberos runtime libraries - S
ii  libldap-2.4-2            2.4.15-1.1      OpenLDAP libraries
ii  libpam0g                 1.0.1-9         Pluggable Authentication Modules l
ii  libsasl2-2               2.1.22.dfsg1-24 Cyrus SASL - authentication abstra
ii  libssl0.9.8              0.9.8g-16       SSL shared libraries
ii  lsb-base                 3.2-22          Linux Standard Base 3.2 init scrip

sasl2-bin recommends no packages.

sasl2-bin suggests no packages.

-- debconf information:
* cyrus-sasl2/backup-sasldb2: /var/backups/sasldb2.bak
  cyrus-sasl2/purge-sasldb2: false
  cyrus-sasl2/upgrade-sasldb2-failed:
* cyrus-sasl2/upgrade-sasldb2-backup-failed:





More information about the Pkg-cyrus-sasl2-debian-devel mailing list