[Bug 383084] Re: autofs doesn't start on boottime and "ghost" option is being ingnored on HP machines

firebird sysadmin at dk-compmath.jku.at
Fri Mar 19 14:59:20 GMT 2010


Dear Chuck!

Here's what i can do for you:
As mentioned above i put a line "/etc/init.d/autofs start" into /etc/rc.local but this did not work anymore since some updates last week, so I put a "echo 'ifconfig` >> /tmp/bla.txt infront of that line and i saw from that that the ethernet interface did not have an ip-address at that time, of course the ldap communication then does not work so good...
As I haven't concerned myself with upstart yet I cannot tell how to solve this properly, however I have a quick and dirty solution to this, I put the following line into /etc/rc.local;

(while [ ! -f /var/run/autofs/_home.pid ]; do /etc/init.d/autofs start;
sleep 10; done) &

As you can see this while-loop tests if the pid-file for autofs exists and if not it keeps trying to start it in 10 seconds steps.
This does work but a proper solution would of course be preferable, so I hope you can get this upstart messup fixed somehow...:)
Your's, firebug

-- 
autofs doesn't start on boottime and "ghost" option is being ingnored on HP machines
https://bugs.launchpad.net/bugs/383084
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs in ubuntu.



More information about the Ubuntu-server-bugs mailing list