Your message dated Mon, 28 Dec 2009 12:02:37 +0000
with message-id <[email protected]>
and subject line Bug#521852: fixed in cyrus-sasl2 2.1.23.dfsg1-4
has caused the Debian Bug report #521852,
regarding sasl2-bin: upgrade from etch fails due to nonexistent /etc/sasldb2
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 [email protected]
immediately.)


-- 
521852: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=521852
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sasl2-bin
Version: 2.1.22.dfsg1-23
Severity: normal

Upgrading an etch machine to lenny fails on the sasl2-bin package because
/etc/sasldb2 doesn't exist. From the postinst:

--
    # If the database contains no users, just wipe it out,
    # it will be recreated later in the current format
    if [ -e $SASLDB_FILE ] && \
        [ `sasldblistusers2 | wc -l -eq 0` ]; then
        rm $SASLDB_FILE
    else
        # The database had users, begin upgrade procedure

        # Make backup and handle errors  
        db_get cyrus-sasl2/backup-sasldb2
        if ! cp --archive $SASLDB_FILE "$RET" >/dev/null 2>&1; then   
            db_input high cyrus-sasl2/upgrade-sasldb2-backup-failed || true
            db_go || true
            exit 1
        fi
--

If $SASLDB_FILE (/etc/sasldb2) doesn't exist, the else branch is hit and the
cp(1) fails, aborting the package upgrade. Perhaps something like the
following would be better?

--
    if [ -e $SASLDB_FILE ]; then
        if [ `sasldblistusers2 | wc -l -eq 0` ]; then
            rm $SASLDB_FILE
        else
            # The database had users, begin upgrade procedure
[...]
    fi
--

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: alpha

Kernel: Linux 2.6.18-6-alpha-smp (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages sasl2-bin depends on:
ii  db4.6-util            4.6.21-11          Berkeley v4.6 Database Utilities
ii  debconf [debconf-2.0] 1.5.24             Debian configuration management sy
ii  libc6.1               2.7-18             GNU C Library: Shared libraries
ii  libcomerr2            1.41.3-1           common error description library
ii  libdb4.6              4.6.21-11          Berkeley v4.6 Database Libraries [
ii  libkrb53              1.6.dfsg.4~beta1-5 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.11-1           OpenLDAP libraries
ii  libpam0g              1.0.1-5            Pluggable Authentication Modules l
ii  libsasl2-2            2.1.22.dfsg1-23    Cyrus SASL - authentication abstra
ii  libssl0.9.8           0.9.8g-15          SSL shared libraries
ii  lsb-base              3.2-20             Linux Standard Base 3.2 init scrip

sasl2-bin recommends no packages.

sasl2-bin suggests no packages.

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



--- End Message ---
--- Begin Message ---
Source: cyrus-sasl2
Source-Version: 2.1.23.dfsg1-4

We believe that the bug you reported is fixed in the latest version of
cyrus-sasl2, which is due to be installed in the Debian FTP archive:

cyrus-sasl2-dbg_2.1.23.dfsg1-4_i386.deb
  to main/c/cyrus-sasl2/cyrus-sasl2-dbg_2.1.23.dfsg1-4_i386.deb
cyrus-sasl2-doc_2.1.23.dfsg1-4_all.deb
  to main/c/cyrus-sasl2/cyrus-sasl2-doc_2.1.23.dfsg1-4_all.deb
cyrus-sasl2_2.1.23.dfsg1-4.diff.gz
  to main/c/cyrus-sasl2/cyrus-sasl2_2.1.23.dfsg1-4.diff.gz
cyrus-sasl2_2.1.23.dfsg1-4.dsc
  to main/c/cyrus-sasl2/cyrus-sasl2_2.1.23.dfsg1-4.dsc
libsasl2-2_2.1.23.dfsg1-4_i386.deb
  to main/c/cyrus-sasl2/libsasl2-2_2.1.23.dfsg1-4_i386.deb
libsasl2-dev_2.1.23.dfsg1-4_i386.deb
  to main/c/cyrus-sasl2/libsasl2-dev_2.1.23.dfsg1-4_i386.deb
libsasl2-modules-gssapi-mit_2.1.23.dfsg1-4_i386.deb
  to main/c/cyrus-sasl2/libsasl2-modules-gssapi-mit_2.1.23.dfsg1-4_i386.deb
libsasl2-modules-ldap_2.1.23.dfsg1-4_i386.deb
  to main/c/cyrus-sasl2/libsasl2-modules-ldap_2.1.23.dfsg1-4_i386.deb
libsasl2-modules-otp_2.1.23.dfsg1-4_i386.deb
  to main/c/cyrus-sasl2/libsasl2-modules-otp_2.1.23.dfsg1-4_i386.deb
libsasl2-modules-sql_2.1.23.dfsg1-4_i386.deb
  to main/c/cyrus-sasl2/libsasl2-modules-sql_2.1.23.dfsg1-4_i386.deb
libsasl2-modules_2.1.23.dfsg1-4_i386.deb
  to main/c/cyrus-sasl2/libsasl2-modules_2.1.23.dfsg1-4_i386.deb
sasl2-bin_2.1.23.dfsg1-4_i386.deb
  to main/c/cyrus-sasl2/sasl2-bin_2.1.23.dfsg1-4_i386.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Fabian Fagerholm <[email protected]> (supplier of updated cyrus-sasl2 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 28 Dec 2009 13:37:20 +0200
Source: cyrus-sasl2
Binary: sasl2-bin cyrus-sasl2-doc libsasl2-2 libsasl2-modules 
libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql 
libsasl2-modules-gssapi-mit libsasl2-dev cyrus-sasl2-dbg
Architecture: source all i386
Version: 2.1.23.dfsg1-4
Distribution: unstable
Urgency: low
Maintainer: Fabian Fagerholm <[email protected]>
Changed-By: Fabian Fagerholm <[email protected]>
Description: 
 cyrus-sasl2-dbg - Cyrus SASL - debugging symbols
 cyrus-sasl2-doc - Cyrus SASL - documentation
 libsasl2-2 - Cyrus SASL - authentication abstraction library
 libsasl2-dev - Cyrus SASL - development files for authentication abstraction 
lib
 libsasl2-modules - Cyrus SASL - pluggable authentication modules
 libsasl2-modules-gssapi-mit - Cyrus SASL - pluggable authentication modules 
(GSSAPI)
 libsasl2-modules-ldap - Cyrus SASL - pluggable authentication modules (LDAP)
 libsasl2-modules-otp - Cyrus SASL - pluggable authentication modules (OTP)
 libsasl2-modules-sql - Cyrus SASL - pluggable authentication modules (SQL)
 sasl2-bin  - Cyrus SASL - administration programs for SASL users database
Closes: 521852 525424 556609 560748
Changes: 
 cyrus-sasl2 (2.1.23.dfsg1-4) unstable; urgency=low
 .
   [ Fabian Fagerholm ]
   * debian/control, debian/sasl2-bin.postinst,
     debian/patches/0017_db4.8.dpatch: Bump libdb version to 4.8.
     (Closes: #556609)
   * debian/rules, debian/sasl2-bin.postinst, debian/sasl2-bin.saslauthd.init:
     No longer explicitly run stop init script on shutdown and reboot.
     (Closes: #560748)
   * debian/sasl2-bin.postinst: Don't attempt sasldb upgrade if the database
     file does not exist. (Closes: #521852)
   * debian/sasl2-bin.saslauthd.init: Fix return code comparisons.
     (Closes: #525424)
   * debian/control: Change upstream home page, this seems to be the active
     page and the old one contains less useful information.
Checksums-Sha1: 
 09b952345c59d92739b2d5d1728462d598a39bf3 1934 cyrus-sasl2_2.1.23.dfsg1-4.dsc
 5680ed6d6bae940aa84ea0600cad2b0f5bb2b82f 92716 
cyrus-sasl2_2.1.23.dfsg1-4.diff.gz
 83942216cd1df251f5353f318bab79f1854463c5 104766 
cyrus-sasl2-doc_2.1.23.dfsg1-4_all.deb
 fd41da8207610f6519319541fb79ca20ba5a4ee3 148102 
sasl2-bin_2.1.23.dfsg1-4_i386.deb
 e580878930db1f31401e238c4781e608679ca79e 107352 
libsasl2-2_2.1.23.dfsg1-4_i386.deb
 39df79037d1c977ada8e7cd811f9222b18570791 148300 
libsasl2-modules_2.1.23.dfsg1-4_i386.deb
 dcf8c11d884f3ae66400b003a934f59616dc9714 58708 
libsasl2-modules-ldap_2.1.23.dfsg1-4_i386.deb
 1e813c54223474e788454323582c5389f5f4a209 77174 
libsasl2-modules-otp_2.1.23.dfsg1-4_i386.deb
 347f25fdee5ba71d331228f88f07cf816eb516a0 65634 
libsasl2-modules-sql_2.1.23.dfsg1-4_i386.deb
 4bec4480e3d7ec333c1a263c138b60e02c44a7e1 66862 
libsasl2-modules-gssapi-mit_2.1.23.dfsg1-4_i386.deb
 b9c86fa4603d48a5a27c72876cacf5033b61a1ad 261254 
libsasl2-dev_2.1.23.dfsg1-4_i386.deb
 7a4fdb56d629c100736b8710fbedfb8d4ea0671c 574372 
cyrus-sasl2-dbg_2.1.23.dfsg1-4_i386.deb
Checksums-Sha256: 
 cf76977082851e37f0934f5eac00665c8718703cb9cb444594a86c7467714fb7 1934 
cyrus-sasl2_2.1.23.dfsg1-4.dsc
 8fc2773f1bcfa47a6fc472b4ae0fbfd2bdcecb437b0c3a13ee237d4aa6c73354 92716 
cyrus-sasl2_2.1.23.dfsg1-4.diff.gz
 e599ea40fef3bbecdc5d3659fca9c82bdf5977cbbd65f17e21bec1b172d90961 104766 
cyrus-sasl2-doc_2.1.23.dfsg1-4_all.deb
 0f5e1d84f70f3085e81388e4e03d3cb58e1179c3aef08e4822f16aba9893ef8d 148102 
sasl2-bin_2.1.23.dfsg1-4_i386.deb
 7ad8362114dd73df8dbd08d7c27fd957ee01ec3109b6d3b4cd88d153525f5061 107352 
libsasl2-2_2.1.23.dfsg1-4_i386.deb
 cbd668ea635002172d39b2ce52daeaa23d0644edc5074016d8ac6fbb94dcde01 148300 
libsasl2-modules_2.1.23.dfsg1-4_i386.deb
 873f5b1503991c4a1c54c4baf1abad62aec648d8264758146c80efa6d6d4958b 58708 
libsasl2-modules-ldap_2.1.23.dfsg1-4_i386.deb
 d7d2a8682502ae90c3322b953a5cb8147268fd4f20c78f39db3401fa9cf48d5e 77174 
libsasl2-modules-otp_2.1.23.dfsg1-4_i386.deb
 2aee97a08fe3311fbca6f9abd6f1dc18b315e172e2ab4dba9c5ac204e45cbe12 65634 
libsasl2-modules-sql_2.1.23.dfsg1-4_i386.deb
 0cad6f4c41cda7d9e075a2bab5f371661476d8d258ff7ed011b8a8244538d77b 66862 
libsasl2-modules-gssapi-mit_2.1.23.dfsg1-4_i386.deb
 7831f7243c9a13693b4b02684a48b3240485ec95efabddee1000a7a03b1678fd 261254 
libsasl2-dev_2.1.23.dfsg1-4_i386.deb
 6063a4a8bf9d6c47773c8d8e86a96c912f47ad355a102879e744e7210293f65d 574372 
cyrus-sasl2-dbg_2.1.23.dfsg1-4_i386.deb
Files: 
 48600d44e6f76e86b9e9cf757bf4f755 1934 libs standard 
cyrus-sasl2_2.1.23.dfsg1-4.dsc
 4f73131c371a01122f07ac33ff85259a 92716 libs standard 
cyrus-sasl2_2.1.23.dfsg1-4.diff.gz
 8d3449c9637ee44ae7ee74a1dd24419a 104766 doc optional 
cyrus-sasl2-doc_2.1.23.dfsg1-4_all.deb
 e5a3746b6c97df11db4c19a3d44267b6 148102 utils optional 
sasl2-bin_2.1.23.dfsg1-4_i386.deb
 631ea9f33d578804218f91068da289ca 107352 libs standard 
libsasl2-2_2.1.23.dfsg1-4_i386.deb
 2b2729c0a3b23917fd04105685f25ac0 148300 libs optional 
libsasl2-modules_2.1.23.dfsg1-4_i386.deb
 28528932ce14bdbc0c1e9b6afd0abab6 58708 libs extra 
libsasl2-modules-ldap_2.1.23.dfsg1-4_i386.deb
 093f0bad3e73422c64aa2812a8cad4c7 77174 libs extra 
libsasl2-modules-otp_2.1.23.dfsg1-4_i386.deb
 216537c01c42a58030ebc11ecffcde05 65634 libs extra 
libsasl2-modules-sql_2.1.23.dfsg1-4_i386.deb
 f767fcb66879a22615e9fe01c2d36171 66862 libs extra 
libsasl2-modules-gssapi-mit_2.1.23.dfsg1-4_i386.deb
 0cd4fc637fab12366c2c9914b4422fa4 261254 libdevel optional 
libsasl2-dev_2.1.23.dfsg1-4_i386.deb
 f2bf49cf02694ff6fe7f47cd0923348c 574372 debug extra 
cyrus-sasl2-dbg_2.1.23.dfsg1-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAks4nCAACgkQ76VUNpZBmeLd5ACggWwtlaCGr6n5YWvRB7OnDt44
FCUAn3Wlc+DsV3Or8LvMvAQZ5iVNq8zT
=5HTv
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to