[Bug 40189] Re: autofs needs to be restarted to pick up some shares

mrtvfuencxozd 40189 at bugs.launchpad.net
Wed Aug 17 16:04:04 UTC 2011


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

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/40189

Title:
  autofs needs to be restarted to pick up some shares

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/40189/+subscriptions



More information about the Ubuntu-server-bugs mailing list