OpenCSW Bug Tracker


Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004521 [openldap] packaging minor have not tried 2010-08-13 22:43 2010-12-01 15:00
Reporter dorix View Status public  
Assigned To dam
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Product Build
Summary 0004521: openldaprc file is missing, slapd.conf not found by service start method
Description A fresh install of CSWopenldap 2.4.22,REV=2010.06.08 on a new zone immediately comes up in maintenance state. The service start method looks for the non-existent openldaprc file in /etc/opt/csw and /opt/csw/etc, fails to find it, and tries to fall back on the now-incorrect default location for slapd.conf and slapd.d: /opt/csw/etc/openldap/slapd.conf and /opt/csw/etc/openldap/slapd.d.

Comments in /var/opt/csw/svc/method/svc-cswopenldap say to copy the openldaprc template file from /opt/csw/share/doc/openldap to /etc/opt/csw, but there is no openldaprc template file in /opt/csw/share/doc/openldap.
Steps To Reproduce
Additional Information # grep DEF_ /var/opt/csw/svc/method/svc-cswopenldap
DEF_SLAPD_CONFIG_FILE=/opt/csw/etc/openldap/slapd.conf
DEF_SLAPD_CONFIG_DIR=/opt/csw/etc/openldap/slapd.d

# glocate slapd.conf
/etc/opt/csw/openldap/slapd.conf
/etc/opt/csw/openldap/slapd.conf.default
/opt/csw/share/man/man5/slapd.conf.5

# glocate openldaprc
#
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0008382)
gadavis (reporter)
2010-10-20 00:00

+1 for a fix, this was a frustrating bug to stumble upon.
(0008486)
dam (administrator)
2010-11-23 15:18

The locations have been adjusted in
  http://sourceforge.net/apps/trac/gar/changeset/11354 [^]
An updated package 2.4.23,REV=2010.11.17 has been released to current/.
(0008503)
dorix (reporter)
2010-11-26 16:23

Works great on a brand new Solaris zone now. Thanks!
(0008511)
dam (administrator)
2010-12-01 15:00

Closing after user verification.

- Issue History
Date Modified Username Field Change
2010-08-13 22:43 dorix New Issue
2010-10-20 00:00 gadavis Note Added: 0008382
2010-11-23 15:14 dam Status new => assigned
2010-11-23 15:14 dam Assigned To => dam
2010-11-23 15:18 dam Note Added: 0008486
2010-11-23 15:18 dam Status assigned => feedback
2010-11-26 16:23 dorix Note Added: 0008503
2010-12-01 15:00 dam Note Added: 0008511
2010-12-01 15:00 dam Status feedback => closed
2010-12-01 15:00 dam Resolution open => fixed


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker