/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
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 ***