Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 387190 Details for
Bug 526198
net-nds/openldap-2.4.40 - /etc/init.d/slapd hangs in checkconfig()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
checkconfig function fix
checkconfig (text/plain), 835 bytes, created by
Luca Fulchir
on 2014-10-22 08:52:52 UTC
(
hide
)
Description:
checkconfig function fix
Filename:
MIME Type:
Creator:
Luca Fulchir
Created:
2014-10-22 08:52:52 UTC
Size:
835 bytes
patch
obsolete
>checkconfig() { > # checks requested by bug #502948 > CONF=`echo ${OPTS_CONF}|awk '/-f/{print $2}'` > for d in `awk '/^directory/{print $2}' $CONF`; do > if [ ! -d $d ]; then > eerror "Directory $d in config does not exist!" > return 1 > fi > /usr/bin/find $d ! -name DB_CONFIG ! -user ldap -o ! -group ldap |grep -sq . > if [ $? -eq 0 ]; then > ewarn "You have files in $d not owned by the ldap user, you must ensure they are accessible to the slapd instance!" > fi > [ ! -e $d/DB_CONFIG ] && ewarn "$d/DB_CONFIG does not exist, slapd performance may be sub-optimal" > done > # now test the config fully > /usr/sbin/slaptest -u "$@" ${OPTS_CONF} >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 526198
: 387190