After a bit more investigation, I think there are two problems here.

1) The pidfile isn't correctly used. That's because the sed expression
used in the init script doesn't strip the trailing newline. If I set
SLAPD_PIDFILE=/var/run/slapd/slapd.pid in the init script, things work
correctly.

2) As the pidfile isn't found, start-stop-daemon falls back to the
daemon name, and doesn't find /usr/sbin/slapd, as there is only
a /usr/lib/slapd.

Regards,
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           [EMAIL PROTECTED]
`. `'                        [EMAIL PROTECTED]
   `-  Debian GNU/Linux -- The power of freedom



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

Reply via email to