[Pkg-openldap-devel] Bug#254999: Bug#254999: slapd: postinst conflicts with daemontools (should also conflict with runit)

Roberto C. Sánchez roberto at connexer.com
Sat Jun 2 01:02:55 UTC 2007


On Fri, Jun 01, 2007 at 04:45:32PM -0700, Russ Allbery wrote:
> 
> Stanford has for some years used an init script that declines to start
> slapd if a file exists on the local system (we use /etc/noldap and
> /etc/noservices for various reasons).  My inclination with this bug is to
> add another option to /etc/default/slapd that specifies a sentinel file,
> something like:
> 
> # If this variable is set and the file it points to exists, the init
> # script will not start slapd.  Useful for temporarily disabling services
> # for whatever reason.
> #SLAPD_SENTINEL_FILE=/etc/noldap
> 
What is the advantage of this over something like "START=yes" or
"START=no" in the /etc/default/foobar file?  Personally, I think that
approach is cleaner and I believe is more common in Debian.  Of course,
I am not part of the OpenLDAP maintenance team, so feel free to ignore
my opinion altogether.

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/attachments/20070601/d24095b6/attachment-0001.pgp 


More information about the Pkg-openldap-devel mailing list