[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
BugFixes to Berkeley DB 2.x and Features for slapd
Hi Folks,
I have fixed a bug in Sleepycat's Berkeley DB 2.x db_open() code, that
caused sporadic failure of slapd opening its database files, when run
with thread mode switched on. Platform was linux, kernel 2.0.35, with
kernel threads supplied through pthreads_1.60.4. The reason was simply
a non-initialized variable. During search of the bug I have also added
db_appinit() at the first call to ldbm_open(), which will cause errors
within the DB library beeing syslog'ed in future times.
Furtheron, I have added a new command line parameter to slapd, '-l', which
will provide for a user-defined selection of syslog's LOG_LOCAL user on
platforms that support different LOCAL users. (-lLOCAL0 ... -lLOCAL7.) The
former build-in LOG_LOCAL4 remains the default, when no -l parameter is
given.
Last, but not least, the names of slapd's pid and args files will now be
computed on the binaries' name, rather than beeing fixed to 'slapd.pid'/
'slapd.args'. That may be used to have multiple slapd servers on one host
with different names. Each one will have its own set of pid/args files.
BTW, $RUNDIR)/var will now be created during make install, so that pid and
args files can be created during server start-up.
Regards,
Kurt Spanier (ksp@openldap.org)
----------==========#########>>>>>ZDV<<<<<#########==========----------
X.500: Tel.:
Kurt Spanier, Zentrum fuer Datenverarbeitung, +49 7071 29-70334
Universitaet Tuebingen, DE
SMTP-Mail: FAX.:
kurt.spanier@zdv.uni-tuebingen.de +49 7071 29-5912
Snail-Mail:
Dr. Kurt Spanier, Zentrum fuer Datenverarbeitung,
Universitaet Tuebingen, Waechterstrasse 76, D-72074 Tuebingen
PGP-Public-Key:
finger "Kurt Spanier"@x500.uni-tuebingen.de
----------==========##########>>>>>@<<<<<##########==========----------