[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4251) openldap tries to unlink files it didn't create

On Wed, 2005-12-07 at 09:06 +0000, vda@ilport.com.ua wrote:

> slapd did not yet come to the stage where it creates slapd.pid
> and slapd.args, it should not try to unlink them. Grep for
> "slapd.pid" below, you will find exactly one match - in unlink().

Fixed in HEAD.

Note that this slightly changes the original behavior; prior to this
change, slapd would have cleaned pid/args files if leftover even in case
it couldn't start; now it only cleans the files it actually successfully
touches.  I think this latter behavior is preferable.


Ing. Pierangelo Masarati
Responsabile Open Solution

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it