Your message dated Wed, 20 Apr 2005 19:47:31 -0400 with message-id <[EMAIL PROTECTED]> and subject line Bug#304840: fixed in openldap2.2 2.2.23-3 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 15 Apr 2005 21:02:57 +0000 >From [EMAIL PROTECTED] Fri Apr 15 14:02:57 2005 Return-path: <[EMAIL PROTECTED]> Received: from mail.dnsteam.de (svr14.dnsteam.de) [62.96.92.5] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DMXxo-0005vW-00; Fri, 15 Apr 2005 14:02:57 -0700 Received: from spinnacker.mholti.homelinux.net (pD9E19BA3.dip0.t-ipconnect.de [217.225.155.163]) (authenticated bits=0) by svr14.dnsteam.de (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id j3FL2eAU018438 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <[EMAIL PROTECTED]>; Fri, 15 Apr 2005 23:02:52 +0200 From: Michael Holtermann <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: slapd: Fails on upgrade at restoring the backup Date: Fri, 15 Apr 2005 23:02:18 +0200 User-Agent: KMail/1.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <[EMAIL PROTECTED]> X-Virus-Scanned: by amavisd-new Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-6.5 required=4.0 tests=BAYES_00,HAS_PACKAGE, HTML_MESSAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: slapd Version: 2.2.23-2 Severity: grave Justification: causes non-serious data loss On today's apt-get upgrade slapd fails and left with an empty directory. The Directory was backed up by dpkg to /var/backups/$BASE_DN-2.2.23-1.ldapdb. But dpkg fails to move it back to /var/lib/ldap: <cite> Backing up /etc/ldap/slapd.conf in /var/backups/slapd-2.2.23-1... done. Enabling LDAPv2 support... already enabled. Moving old database directories to /var/backups: Loading from /var/backups/slapd-2.2.23-1: - directory dc=mholti,dc=homelinux,dc=net... /var/lib/dpkg/info/slapd.postinst: line 103: /var/backups/slapd-2.2.23-1/dc=mholti,dc=homelinux,dc=net.ldif: No such file or directory /var/lib/dpkg/info/slapd.postinst: line 106: [: : integer expression expected failed. Loading the database from the LDIF dump failed with the following error while running slapadd: /var/backups/slapd-2.2.23-1/dc=mholti,dc=homelinux,dc=net.ldif: No such file or directory </cite> In the backup-dir there are some bdb-files. I've copied them back to /var/lib/ldap. 'til now slapd is up and running again. Greetings, Michael. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (600, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.11.7-micha Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages slapd depends on: ii coreutils [fileutils] 5.2.1-2 The GNU core utilities ii debconf 1.4.48 Debian configuration management sy ii fileutils 5.2.1-2 The GNU file management utilities ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libdb4.1 4.1.25-18 Berkeley v4.1 Database Libraries [ pn libgcrypt1 Not found. pn libgnutls7 Not found. ii libiodbc2 3.52.2-3 iODBC Driver Manager ii libldap2 2.1.30-3 OpenLDAP libraries ii libltdl3 1.5.6-6 A system independent dlopen wrappe ii libsasl2 2.1.19-1.5 Authentication abstraction library ii libslp1 1.0.11a-2 OpenSLP libraries pn libtasn1-0 Not found. ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra ii perl [libmime-base64-perl] 5.8.4-8 Larry Wall's Practical Extraction ii psmisc 21.6-1 Utilities that use the proc filesy ii zlib1g 1:1.2.2-4 compression library - runtime --------------------------------------- Received: (at 304840-close) by bugs.debian.org; 20 Apr 2005 23:56:46 +0000 >From [EMAIL PROTECTED] Wed Apr 20 16:56:46 2005 Return-path: <[EMAIL PROTECTED]> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DOP3m-0005N4-00; Wed, 20 Apr 2005 16:56:46 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1DOOup-0006Q9-00; Wed, 20 Apr 2005 19:47:31 -0400 From: Torsten Landschoff <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.55 $ Subject: Bug#304840: fixed in openldap2.2 2.2.23-3 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Wed, 20 Apr 2005 19:47:31 -0400 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: X-CrossAssassin-Score: 5 Source: openldap2.2 Source-Version: 2.2.23-3 We believe that the bug you reported is fixed in the latest version of openldap2.2, which is due to be installed in the Debian FTP archive: ldap-utils_2.2.23-3_i386.deb to pool/main/o/openldap2.2/ldap-utils_2.2.23-3_i386.deb libldap-2.2-7_2.2.23-3_i386.deb to pool/main/o/openldap2.2/libldap-2.2-7_2.2.23-3_i386.deb openldap2.2_2.2.23-3.diff.gz to pool/main/o/openldap2.2/openldap2.2_2.2.23-3.diff.gz openldap2.2_2.2.23-3.dsc to pool/main/o/openldap2.2/openldap2.2_2.2.23-3.dsc slapd_2.2.23-3_i386.deb to pool/main/o/openldap2.2/slapd_2.2.23-3_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. Torsten Landschoff <[EMAIL PROTECTED]> (supplier of updated openldap2.2 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.7 Date: Thu, 21 Apr 2005 01:29:57 +0200 Source: openldap2.2 Binary: slapd ldap-utils libldap-2.2-7 Architecture: source i386 Version: 2.2.23-3 Distribution: unstable Urgency: low Maintainer: Torsten Landschoff <[EMAIL PROTECTED]> Changed-By: Torsten Landschoff <[EMAIL PROTECTED]> Description: ldap-utils - OpenLDAP utilities libldap-2.2-7 - OpenLDAP libraries slapd - OpenLDAP server (slapd) Closes: 265860 303243 304339 304549 304840 Changes: openldap2.2 (2.2.23-3) unstable; urgency=low . Steve Langasek <[EMAIL PROTECTED]> * libraries/libldap_r/Makefile.in: Code that uses pthreads *must* be linked with -pthread, even if it's a library; without this, the libldap_r library ends up with dangling unversioned reference to pthread_create() which gets resolved to a wrong version that causes segfaults on 64-bit platforms. Closes: #304549. * debian/rules: error out on build if an installed library has undefined symbols; future-proofing against a repeat of #304549. * debian/slapd.postinst: don't dump and reload directories unless we know we're upgrading from an incompatible version! Closes: #304840. * debian/slapd.scripts-common: don't use merge_logical_lines for functions that will be writing back to the config; the code is not as pretty now, but the output is much less ugly. Closes: #303243. * debian/slapd.examples, debian/slapd.scripts-common, debian/slapd.links, debian/move_files: install DB_CONFIG in /usr/share/slapd/ instead of /usr/share/doc/slapd/examples/; this simplifies the code, and ensures users who don't install /usr/share/doc aren't penalized. Create links for the DB_CONFIG and slapd.confg templates to /usr/share/doc/slapd/examples, since these are worthwhile examples as well. * Updated maintainer scripts to keep DB_CONFIG for LDAP databases over upgrades (closes: #265860). * Move slappasswd to the slapd package, since it's now a symlink and isn't actually useful without the slapd binary (closes: #304339). Files: 7c942ffec1c8d65ba0658fd26f7fa515 999 net optional openldap2.2_2.2.23-3.dsc 62b2bcb60d20dbbbbd01ed58994fccc8 478104 net optional openldap2.2_2.2.23-3.diff.gz f242a20d7673b377d8bb8d93d6ab0960 797980 net optional slapd_2.2.23-3_i386.deb d223b5b37666dcdb1ea8ca3e0de21c71 117314 net optional ldap-utils_2.2.23-3_i386.deb 46c7ac17ee7b4a24ea75941f8c8b859f 240602 libs important libldap-2.2-7_2.2.23-3_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCZugMdQgHtVUb5EcRAn14AJ4sbnxkvFoI/mQ4eHkWMi12APMAdQCffLLw 4Yidij2MCYjkXe1Up9trAC0= =xn9A -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]