Bug#402705: [Pkg-openldap-devel] Bug#402705: slapd: Runnin postinst chown -R'd /var/run to openldap:openldap

Matthijs Mohlmann matthijs at cacholong.nl
Tue Dec 12 13:23:46 CET 2006


Manoj Srivastava wrote:
> Package: slapd
> Version: 2.3.30-1
> Severity: critical
> 
>         Why is it critical? well sshd fails to restart saying that
>  /var/run/sshd needs to be owned by root; inn did not restart, and
>  neither did postgresql.  All kinds of unrelated software broke when
>  this happens.
> 
>         I can reproduce at will by running as root:
>  bash -x /var/lib/dpkg/info/slapd.postinst configure
> 
>         I debugged it to the point where one part of the script was
>  writing to file descriptor 9 for a Perl script to read to psit out
>  where the database dir was, and realized this is a bit much to be
>  debugging at 2am while trying to ensure my machine reovers from this.
> 
> __> sudo grep '^directory' /etc/ldap/slapd.conf
> directory       "/var/lib/ldap"
> 
> 
>         I don't really use ldap anymore, so I am on the verge of
>  purging this, but I'll keep it installed long enough to help debug
>  this issue.
> 
Hi,

Can you send me your parameters for argsfile and pidfile in 
/etc/ldap/slapd.conf ? (Or send me in private after removing the 
passwords the slapd.conf ?)

Regards,

Matthijs Mohlmann






More information about the Pkg-openldap-devel mailing list