Comment 31 for bug 40189

Revision history for this message
mrtvfuencxozd (mrtvfuencxozd) wrote : Re: autofs needs to be restarted to pick up some shares

post #25 did not seem to work for me (10.10).

In my case , NFS entries I need to mount are stored in a NIS server.
as a fix I've created the following file :
--
###/etc/init/waitnis.conf
description "Wait for NIS"
author "moi"
start on starting autofs
task

script
        while [ ! $(pgrep ypbind) ] ; do
        sleep 5
        done;
        sleep 5
end script
--

something similar can probably be created to check ldap/... before starting autofs