Bug#395349: [Pkg-openldap-devel] Bug#395349: Slapd can't create /var/run/slapd.args (should be /var/run/slapd/slapd.args?)

Matthijs Mohlmann matthijs at cacholong.nl
Thu Oct 26 17:25:21 CEST 2006


Wilco Baan Hofman wrote:
> Package: slapd
> Version: 2.3.27-1
> Severity: normal
> 
> When starting slapd as the user openldap and group openldap it won't
> start because it can't create /var/run/slapd.args. 
> 
> A fix would be adding the following to /etc/init.d/slapd:
> touch /var/run/slapd.args
> chown "$SLAPD_USER":"$SLAPD_GROUP" /var/run/slapd.args
> 
> slapd deletes this file when quitting..
> 
> I propose to move the args file from /var/run/slapd.args to /var/run/slapd/slapd.args.
> 
> Regards,
> 
> Wilco Baan Hofman

Did this occur after an upgrade or install ?

On upgrade the slapd.conf will be automatically edited and change the 
path from /var/run/slapd.args to /var/run/slapd/slapd.args.

Regards,

Matthijs Mohlmann






More information about the Pkg-openldap-devel mailing list