[Pkg-openldap-devel] Bug#380537: slapd: Fails to start after upgrade to from 2.3.23 to 2.3.24

Steve Langasek vorlon at debian.org
Mon Jul 31 02:45:50 UTC 2006


On Sun, Jul 30, 2006 at 08:22:33PM +0100, Peter Hicks wrote:
> Package: slapd
> Version: 2.3.24-2
> Severity: grave
> Justification: renders package unusable

> After upgrading from 2.3.23 to 2.3.24, slapd refuses to start:

>  pwh at angel:~$ /etc/init.d/slapd start
>  No configuration file was found for slapd at /etc/ldap/slapd.conf.
>  If you have moved the slapd configuration file please modify
>  /etc/default/slapd to reflect this.  If you chose to not
>  configure slapd during installation then you need to do so
>  prior to attempting to start slapd.

> slapd.conf is owned by root.root, and chown-ing it to root.openldap fixes
> the problem.

Is this because the perms on the file are 0640?

>  Maybe this should be done by the upgrade script?

I think there had been discussion before the changes to run slapd as a
non-root user about causing the config file to be read before dropping root
privileges.  I think that would be much better than a one-time override of
the admin's file permissions.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/




More information about the Pkg-openldap-devel mailing list