| Summary: | net-nds/openldap-2.4.40 - /etc/init.d/slapd hangs in checkconfig() | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Hodur <coil93> |
| Component: | [OLD] Server | Assignee: | Gentoo LDAP project <ldap-bugs> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | checkconfig function fix | ||
Looks like awk might be waiting for input. Created attachment 387190 [details]
checkconfig function fix
The checkconfig function has 2 BIG bugs:
-the awk is called on nothing, so it waits for input.
-the test after the find command instead of testing if we found a file owned by someone else, actually tests for the opposite (no files owned by someone else)
the attachment is a proposed fix (worksforme).
...why commit something that was never run, even once?
*** This bug has been marked as a duplicate of bug 525408 *** |
/etc/init.d/slapd script freezes while boot and Gentoo boot process is stacked forever. Reproducible: Always Steps to Reproduce: 1. emerge =openldap-2.4.40 (ACCEPT_KEYWORDS=~amd64 or ~x86) 2. /etc/init.d/slapd start Actual Results: The script hangs forever. Gentoo does not boot. Expected Results: The script starts normally. The string in function checkconfig() waits endless. for d in `awk '/^directory/{print $2}'`; do