[Pkg-openldap-devel] Bug#370337: /etc/default/slap hang when given options to slapd
Pascal Carrié
pascal at iepala.es
Mon May 5 09:57:01 UTC 2008
Package: slapd
Followup-For: Bug #370337
hi,
if you give an option in /etc/default/slapd (like SLAPD_OPTIONS="-d 16383") the start-stop-daemon do not release the console (do not go to the
background), the slapd is up but without considering the given options.
I have try to start manualy the daemon :
slapd -h 'ldap:/// ldaps:///' -g openldap -u openldap -f /etc/ldap/slapd.conf -d 16383
and it's work fine but
if you try with :
start-stop-daemon --start --quiet --background --oknodo --pidfile /var/run/slapd/slapd.pid --exec /usr/sbin/slapd -- -d 16383
it's hang just as when you lauch with the /etc/init.d/slapd script
anyway, thanks for your exelent job
pascal
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages slapd depends on:
ii adduser 3.107 add and remove users and groups
ii coreutils 6.10-3 The GNU core utilities
ii debconf [debconf-2.0] 1.5.21 Debian configuration management sy
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libdb4.2 4.2.52+dfsg-4 Berkeley v4.2 Database Libraries [
ii libgnutls26 2.2.2-1 the GNU TLS library - runtime libr
ii libldap-2.4-2 2.4.7-6.2 OpenLDAP libraries
ii libltdl3 1.5.26-3 A system independent dlopen wrappe
ii libperl5.8 5.8.8-12 Shared Perl library
ii libsasl2-2 2.1.22.dfsg1-18 Cyrus SASL - authentication abstra
ii libslp1 1.2.1-7.2 OpenSLP libraries
ii libwrap0 7.6.q-15 Wietse Venema's TCP wrappers libra
ii perl [libmime-base64-per 5.8.8-12 Larry Wall's Practical Extraction
ii psmisc 22.6-1 Utilities that use the proc filesy
ii unixodbc 2.2.11-16 ODBC tools libraries
Versions of packages slapd recommends:
ii libsasl2-modules 2.1.22.dfsg1-18 Cyrus SASL - pluggable authenticat
-- debconf information:
slapd/password_mismatch:
slapd/tlsciphersuite:
slapd/invalid_config: true
* shared/organization: iepala.org
slapd/upgrade_slapcat_failure:
slapd/slurpd_obsolete:
* slapd/backend: HDB
slapd/dump_database: when needed
* slapd/allow_ldap_v2: false
* slapd/no_configuration: false
slapd/migrate_ldbm_to_bdb: true
slapd/move_old_database: true
slapd/suffix_change: false
slapd/dump_database_destdir: /var/backups/slapd-VERSION
* slapd/purge_database: true
* slapd/domain: iepala.org
More information about the Pkg-openldap-devel
mailing list