Your message dated Fri, 01 Jul 2005 10:17:42 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#316350: fixed in openldap2.2 2.2.26-2
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; 30 Jun 2005 11:02:32 +0000
>From [EMAIL PROTECTED] Thu Jun 30 04:02:32 2005
Return-path: <[EMAIL PROTECTED]>
Received: from kw04.de (ww04.kw04.de) [213.131.254.194]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DnwoR-0007Tt-00; Thu, 30 Jun 2005 04:02:31 -0700
Received: from tsetse.adpm.de (dsl-084-056-121-208.arcor-ip.net [84.56.121.208])
by ww04.kw04.de (ww04.kw04.de) with ESMTP id 6985316DBC9
for <[EMAIL PROTECTED]>; Thu, 30 Jun 2005 13:02:18 +0200 (CEST)
Received: from tsetse.adpm.de (localhost [127.0.0.1])
by tsetse.adpm.de (Postfix) with ESMTP id 1AE582BC1A
for <[EMAIL PROTECTED]>; Thu, 30 Jun 2005 13:02:25 +0200 (CEST)
Received: from ant.adpm.de (ant.adpm.de [10.250.2.1])
by tsetse.adpm.de (Postfix) with ESMTP id 8767E2BC19
for <[EMAIL PROTECTED]>; Thu, 30 Jun 2005 13:02:24 +0200 (CEST)
Content-Type: multipart/mixed; boundary="===============1711429859=="
MIME-Version: 1.0
From: Peter Marschall <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: function do_db_recover() in /etc/init.d/slapd fails if $SLAPD_USER has
no
sensible shell
X-Mailer: reportbug 3.12
Date: Thu, 30 Jun 2005 13:02:22 +0200
Message-Id: <[EMAIL PROTECTED]>
X-Virus-Scanned: ClamAV using ClamSMTP
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:
This is a multi-part MIME message sent by reportbug.
--===============1711429859==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Package: slapd
Version: 2.2.27-0pm3
Severity: important
Tags: patch
Hi,
when TRY_DBD_RECOVERY=yes and SLAPD_USER and this user has no "sensible" shell,
then /etc/init.d/slapd reports that db4.2_recover failed on the first DBD
database.
The culprit is the command line wiwhich is used to start db4.2_recover.
It assumes that $SLAPD_USER has a sensible shell, which is not guaranteed.
The attached patch fixes it by calling su with the additional option -s /bin/sh
CU
Peter
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages slapd depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii debconf 1.4.51 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-19pm1 Berkeley v4.2 Database Libraries [
ii libiodbc2 3.52.2-3 iODBC Driver Manager
ii libldap-2.2-7 2.2.27-0pm3 OpenLDAP libraries
ii libltdl3 1.5.6-6 A system independent dlopen wrappe
ii libperl5.8 5.8.7-3 Shared Perl library
ii libsasl2 2.1.19-1.5 Authentication abstraction library
ii libslp1 1.2.1-2 OpenSLP libraries
ii libssl0.9.7 0.9.7e-3 SSL shared libraries
ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra
ii perl [libmime-base64-perl] 5.8.7-3 Larry Wall's Practical Extraction
ii psmisc 21.6-1 Utilities that use the proc filesy
-- debconf information excluded
--===============1711429859==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="slapd.init.diff"
--- debian/slapd.init
+++ debian/slapd.init 2005-06-30 12:44:23.000000000 +0200
@@ -147,7 +147,7 @@
local dbdir
dbdir="$1"
if [ "$SLAPD_USER" ]; then
- reason=`su "$SLAPD_USER" -c \
+ reason=`su "$SLAPD_USER" -s /bin/sh -c \
"$DB_RECOVER_CMD -eh $dbdir" 2>&1` || \
db_recover_failed $dbdir
else
--===============1711429859==--
---------------------------------------
Received: (at 316350-close) by bugs.debian.org; 1 Jul 2005 14:23:59 +0000
>From [EMAIL PROTECTED] Fri Jul 01 07:23:59 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 1DoMQx-0004A8-00; Fri, 01 Jul 2005 07:23:59 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DoMKs-0005Wm-00; Fri, 01 Jul 2005 10:17:42 -0400
From: Torsten Landschoff <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#316350: fixed in openldap2.2 2.2.26-2
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 01 Jul 2005 10:17:42 -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: 6
Source: openldap2.2
Source-Version: 2.2.26-2
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-2_i386.deb
to pool/main/o/openldap2.2/ldap-utils_2.2.26-2_i386.deb
libldap-2.2-7_2.2.26-2_i386.deb
to pool/main/o/openldap2.2/libldap-2.2-7_2.2.26-2_i386.deb
openldap2.2_2.2.26-2.diff.gz
to pool/main/o/openldap2.2/openldap2.2_2.2.26-2.diff.gz
openldap2.2_2.2.26-2.dsc
to pool/main/o/openldap2.2/openldap2.2_2.2.26-2.dsc
slapd_2.2.26-2_i386.deb
to pool/main/o/openldap2.2/slapd_2.2.26-2_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: Fri, 1 Jul 2005 12:53:18 +0200
Source: openldap2.2
Binary: slapd ldap-utils libldap-2.2-7
Architecture: source i386
Version: 2.2.26-2
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: 313809 315122 316350 316351 316354 316355 316361
Changes:
openldap2.2 (2.2.26-2) unstable; urgency=low
.
* Assembled changes from patches supplied by Peter Marschall (thanks,
Peter):
| debian/move_files: Move slapd and slurpd to /usr/sbin and adjust symlinks
(closes: #316354).
+ debian/slapd.links: Remove symlinks from /usr/sbin to /usr/lib.
| debian/rules: Don't install cron jobs needed for GnuTLS as long as we are
using OpenSSL.
| debian/control: Remove build-dependencies needed for GnuTLS
(closes: #316355).
+ Require libsasl >= 2.1.18 as recommended by OpenLDAP project.
| Update quicktool patch from Quanah Gibson-Mount (closes: #316361).
| debian/slapd.init: Use /bin/sh as shell when running db_recover
(closes: #316350).
| debian/configure.options: Enabled dynlist and proxycache overlays
(closes: #316351).
.
* debian/po/de.po: Apply typo correction patch (closes: #313809).
* debian/po/fr.po: Apply updates by Christian Perrier (closes: #315122).
Files:
9f504417b43b6584103db8e9ce093f2f 1002 net optional openldap2.2_2.2.26-2.dsc
38d64db7217f192859499c2efe08c089 494827 net optional
openldap2.2_2.2.26-2.diff.gz
701a86ae899b85b0bd13300e07e51ea6 936826 net optional slapd_2.2.26-2_i386.deb
bed8ca76a8eda2d0a5353df8f2cb6611 119200 net optional
ldap-utils_2.2.26-2_i386.deb
e3703503ef228a096e51bbb659d1ffbf 151850 libs important
libldap-2.2-7_2.2.26-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFCxSaQdQgHtVUb5EcRAgqWAJ98wMeiUgnboDUJbRBMieoc6XWLyQCfQq0G
9H3cxEIZHpHGxagj+VvoZJE=
=F/0O
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]