Bug 575723 - warnings about config file/directory on slapd restart
Summary: warnings about config file/directory on slapd restart
Keywords:
Status: CLOSED DUPLICATE of bug 571235
Alias: None
Product: Fedora
Classification: Fedora
Component: openldap
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Zeleny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-22 09:01 UTC by DaLiV
Modified: 2010-03-22 09:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-03-22 09:10:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description DaLiV 2010-03-22 09:01:02 UTC
Description of problem:
warnings on slapd restart

Version-Release number of selected component (if applicable):
openldap-2.4.19-3.fc12.x86_64 (also some earlier)

How reproducible:
Steps to Reproduce:
1. migrate configuration to ldap datastore
2. restart ldap

  
Actual results:
/etc/init.d/slapd restart
Stopping slapd:                                            [  OK  ]
egrep: /etc/openldap/slapd.d//cn=config/olcDatabase={2}hdb:: No such file or directory
egrep: olcOverlay={0}syncprov.ldif: No such file or directory
egrep: /etc/openldap/slapd.d//cn=config/olcDatabase={3}hdb:: No such file or directory
egrep: olcOverlay={0}syncprov.ldif: No such file or directory
Starting slapd:                                            [  OK  ]


Expected results:
no errors/warnings

Additional info:
patch for right configuration searchning

--- /etc/init.d/slapd   2010-03-22 10:51:56.000000000 +0200
+++ /etc/init.d/slapd   2010-03-22 10:51:08.000000000 +0200
@@ -113,7 +113,7 @@
        slaptestflags=""
        dbdirs=""
     if [ -d $configdir ]; then
-           for configfile in `ls -1 $configdir/cn\=config/olcDatabase*`; do
+           for configfile in `ls -1d $configdir/cn\=config/olcDatabase*`; do
                    dbdirs=$dbdirs"
                    "`LANG=C egrep '^olcDbDirectory[[:space:]]*:[[:space:]]+[[:print:]]+$' $configfile | sed 's,^olcDbDirectory: ,,'`
            done

Comment 1 Jan Zeleny 2010-03-22 09:10:00 UTC
I'm marking this bug as duplicate. It has been solved couple days ago, please check testing updates.

*** This bug has been marked as a duplicate of bug 571235 ***


Note You need to log in before you can comment on or make changes to this bug.