Your message dated Tue, 21 Jun 2005 07:17:21 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#311331: fixed in openldap2.2 2.2.26-1
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; 31 May 2005 08:37:20 +0000
>From [EMAIL PROTECTED] Tue May 31 01:37:20 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 1Dd2FU-00066t-00; Tue, 31 May 2005 01:37:20 -0700
Received: from spinnacker.mholti.homelinux.net (pD9E19C97.dip0.t-ipconnect.de 
[217.225.156.151])
        (authenticated bits=0)
        by svr14.dnsteam.de (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id 
j4V8b7qU020830
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
        Tue, 31 May 2005 10:37:11 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Michael Holtermann <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: slapd: TRY_BDB_RECOVERY=yes changes owner of data-files
X-Mailer: reportbug 3.12
Date: Tue, 31 May 2005 10:37:00 +0200
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: slapd
Version: 2.2.23-8
Severity: normal

As suggested by dbconf I've placed TRY_BDB_RECOVERY=yes in my
/etc/default/slapd. The deamon is running as user slapd (SLAPD_USER=slapd,
SLAPD_GROUP=slapd).

The recovery process is changing the owner of /var/lib/ldap/*db.* to
root:root, causing slapd to stop immediately after start.

$ tail -f /var/log/slapd.log
slapd[7604]: @(#) $OpenLDAP: slapd 2.2.23 (May 30 2005 08:52:42) [EMAIL 
PROTECTED]:/home/torsten/packages/openldap/openldap2.2-2.2.23/debian/build/servers/slapd
slapd[7604]: bdb_db_init: Initializing BDB database bdb_db_open: dbenv_open 
failed: Permission denied (13)
slapd[7605]: backend_startup: bi_db_open failed! (13)
slapd[7605]: bdb(dc=$X) DB_ENV->lock_id_free interface requires an environment 
configured for the locking subsystem
slapd[7605]: bdb(dc=$X): txn_checkpoint interface requires an environment 
configured for the transaction subsystem
slapd[7605]: bdb_db_destroy: txn_checkpoint failed: Invalid argument(22)
slapd[7605]: slapd stopped.
slapd[7605]: connections_destroy: nothing to destroy.

$X is my base.dn.

Workaround:
Disable TRY_BDB_RECOVERY and change the owner back to slapd:slapd.

Greetings, Michael.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.5-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.50       Debian configuration management sy
ii  fileutils                   5.2.1-2      The GNU file management utilities 
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdb4.2                    4.2.52-18    Berkeley v4.2 Database Libraries [
ii  libiodbc2                   3.52.2-3     iODBC Driver Manager
ii  libldap-2.2-7               2.2.23-8     OpenLDAP libraries
ii  libltdl3                    1.5.6-6      A system independent dlopen wrappe
ii  libperl5.8                  5.8.4-8      Shared Perl library
ii  libsasl2                    2.1.19-1.5   Authentication abstraction library
ii  libslp1                     1.0.11a-2    OpenSLP libraries
ii  libssl0.9.7                 0.9.7g-1     SSL shared libraries
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

-- debconf information:
  slapd/fix_directory: true
* shared/organization: marina
  slapd/upgrade_slapcat_failure:
  slapd/backend: BDB
* slapd/allow_ldap_v2: true
  slapd/no_configuration: false
  slapd/move_old_database: true
  slapd/suffix_change: false
  slapd/slave_databases_require_updateref:
* slapd/dump_database_destdir: /var/backups/slapd-VERSION
  slapd/autoconf_modules: true
* slapd/domain: mholti.homelinux.net
  slapd/password_mismatch:
  slapd/invalid_config: true
  slapd/upgrade_slapadd_failure:
* slapd/dump_database: when needed
  slapd/migrate_ldbm_to_bdb: false
  slapd/purge_database: false
  slapd/admin:

---------------------------------------
Received: (at 311331-close) by bugs.debian.org; 21 Jun 2005 11:21:38 +0000
>From [EMAIL PROTECTED] Tue Jun 21 04:21:38 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 1Dkgp0-0003MY-00; Tue, 21 Jun 2005 04:21:38 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1Dkgkr-0004fT-00; Tue, 21 Jun 2005 07:17:21 -0400
From: Torsten Landschoff <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#311331: fixed in openldap2.2 2.2.26-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Tue, 21 Jun 2005 07:17:21 -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: 

Source: openldap2.2
Source-Version: 2.2.26-1

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.26-1_i386.deb
  to pool/main/o/openldap2.2/ldap-utils_2.2.26-1_i386.deb
libldap-2.2-7_2.2.26-1_i386.deb
  to pool/main/o/openldap2.2/libldap-2.2-7_2.2.26-1_i386.deb
openldap2.2_2.2.26-1.diff.gz
  to pool/main/o/openldap2.2/openldap2.2_2.2.26-1.diff.gz
openldap2.2_2.2.26-1.dsc
  to pool/main/o/openldap2.2/openldap2.2_2.2.26-1.dsc
openldap2.2_2.2.26.orig.tar.gz
  to pool/main/o/openldap2.2/openldap2.2_2.2.26.orig.tar.gz
slapd_2.2.26-1_i386.deb
  to pool/main/o/openldap2.2/slapd_2.2.26-1_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: Tue, 21 Jun 2005 12:06:40 +0200
Source: openldap2.2
Binary: slapd ldap-utils libldap-2.2-7
Architecture: source i386
Version: 2.2.26-1
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: 311331 312064
Changes: 
 openldap2.2 (2.2.26-1) unstable; urgency=low
 .
   * New upstream release.
   * debian/slapd.init: Run db_recover as the user configured for slapd
     (closes: #311331).
   * debian/po/cs.po: Add Czech translation by Miroslav Kure (closes: #312064).
   * Run debconf-updatepo, oh my :(
   * Update configure via libtoolize -f; aclocal-1.4; autoconf2.50.
Files: 
 6c82fc2d1896bca7b97b5eb5f9f16c3b 1035 net optional openldap2.2_2.2.26-1.dsc
 afc8700b5738da863b30208e1d3e9de8 2626629 net optional 
openldap2.2_2.2.26.orig.tar.gz
 05b217247f784c57942ed13910706b38 493987 net optional 
openldap2.2_2.2.26-1.diff.gz
 4dab5ad28658a99fa3610ede9c6f5e22 821230 net optional slapd_2.2.26-1_i386.deb
 d8c73faffc5ad338ef5b63727b21b6f8 118876 net optional 
ldap-utils_2.2.26-1_i386.deb
 bea52243ff7fa94a437f4fef89dc8440 151484 libs important 
libldap-2.2-7_2.2.26-1_i386.deb

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

iD8DBQFCt/DQdQgHtVUb5EcRAlwhAJ9VHeCZd5LkJKfHKP9T8OjAt5FxgQCfYpMj
4ZdbIIarYrOx+mKBAMPeoUI=
=qxG4
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to