[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[wbx@luusa.org: Bug#261696: /etc/init.d/slapd restart sometimes failes]



Hi dpkg-Maintainers, 

I wonder what's going on here since we are running start-stop-daemon 
with --retries 10. According to the manpage it should wait for the
process to finish but this user tells it's not for him...

Any suggestions? Waldemar, can you check the start-stop-daemon
invocation in stop_slurpd and stop_slapd against that? It should look
like this:

        reason="`start-stop-daemon --stop --quiet --oknodo --retry 10 \
                --pidfile "$SLAPD_PIDFILE" \
                --exec /usr/sbin/slapd 2>&1`"

Thanks, Torsten

----- Forwarded message from Waldemar Brodkorb <wbx@luusa.org> -----
Subject: Bug#261696: /etc/init.d/slapd restart sometimes failes

Package: slapd
Version: 2.1.30-3
Severity: important

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=C, LC_CTYPE=C

Versions of packages slapd depends on:
ii  coreutils [fileutils]       5.0.91-2     The GNU core utilities
ii  debconf                     1.4.29       Debian configuration management sy
ii  fileutils                   5.0.91-2     The GNU file management utilities 
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libldap2                    2.1.30-3     OpenLDAP libraries
ii  libssl0.9.7                 0.9.7d-3     SSL shared libraries
ii  libwrap0                    7.6.dbs-4    Wietse Venema's TCP wrappers libra
ii  perl [libmime-base64-perl]  5.8.3-3      Larry Wall's Practical Extraction 
ii  psmisc                      21.5-1       Utilities that use the proc filesy

-- debconf information excluded

Hi, 

when I add a sleep of 2 seconds into the initscript it works fine.
It is very annoying if you forget this and you think slapd is really
restarted, but it is not.

thanks in advance
	Waldemar


----- End forwarded message -----

Attachment: pgpWFVva41RMF.pgp
Description: PGP signature


Reply to: