Bug#596100: When told not to initially configure slapd, (un-)installation fails due to init script return code.

2010-09-13 Thread Matthew King
Steve Langasek vor...@debian.org writes: I don't agree with the initial problem that a package is not installed until after it's configured _even though_ the administrator has chosen explicitly not to configure it at that time. I can see the point of not creating the sentinel file, but in

Bug#596100: [Pkg-openldap-devel] Bug#596100: When told not to initially configure slapd, (un-)installation fails due to init script return code.

2010-09-13 Thread Russ Allbery
Steve Langasek vor...@debian.org writes: If you don't want to have to deal with the apt fallout from overriding slapd's default initial directory configuration, then /don't do that/. I am not at all sympathetic to users who insist on configuring packages the hard way and then complain that

Bug#596100: When told not to initially configure slapd, (un-)installation fails due to init script return code.

2010-09-12 Thread Steve Langasek
On Thu, Sep 09, 2010 at 12:10:22PM +0100, Matthew King wrote: - The postinst could not attempt to start a daemon which is installed but not configured. I checked postfix and that's exactly what it does: (at the end of postinst) if [ $mailer != No configuration ] || [ -f /etc/postfix/main.cf

Bug#596100: When told not to initially configure slapd, (un-)installation fails due to init script return code.

2010-09-09 Thread Matthew King
Steve Langasek vor...@debian.org writes: On Wed, Sep 08, 2010 at 09:13:29PM +0100, Matthew King wrote: Steve Langasek vor...@debian.org writes: 1) Creating /etc/ldap/noslapd as part of the postinst which the administrator can remove when slapd is configured. I don't consider this

Bug#596100: When told not to initially configure slapd, (un-)installation fails due to init script return code.

2010-09-08 Thread Matthew King
Package: slapd Version: 2.4.23-4 Severity: normal Tags: patch If slapd is told not to create an initial configuration, the init script fails and kills apt-get in its death throes. aginor:~# debconf-set-selections slapd slapd/internal/adminpw passwordinsecure slapd

Bug#596100: When told not to initially configure slapd, (un-)installation fails due to init script return code.

2010-09-08 Thread Steve Langasek
tags 596100 - patch severity 596100 serious thanks On Wed, Sep 08, 2010 at 05:46:49PM +0100, Matthew King wrote: Attempting to immediately remove the package also fails hard. aginor:~# dpkg --purge slapd (Reading database ... 24183 files and directories currently installed.) Removing slapd

Bug#596100: When told not to initially configure slapd, (un-)installation fails due to init script return code.

2010-09-08 Thread Matthew King
Steve Langasek vor...@debian.org writes: 1) Creating /etc/ldap/noslapd as part of the postinst which the administrator can remove when slapd is configured. I don't consider this appropriate. If you ask not to automatically configure slapd, then the package is not usable until manual

Bug#596100: When told not to initially configure slapd, (un-)installation fails due to init script return code.

2010-09-08 Thread Steve Langasek
On Wed, Sep 08, 2010 at 09:13:29PM +0100, Matthew King wrote: Steve Langasek vor...@debian.org writes: 1) Creating /etc/ldap/noslapd as part of the postinst which the administrator can remove when slapd is configured. I don't consider this appropriate. If you ask not to