Comment 43 for bug 40189

Revision history for this message
Ruben Nielsen (nielsen-ruben) wrote : Re: autofs needs to be restarted to pick up some shares

I tried a bunch of fixes. Some from this thread. No luck. On Ubuntu 14.04 I ended up simply doing:

AUTOFS_UPSTART=/etc/init/autofs.conf
cat $AUTOFS_UPSTART | sed "s/^start on runlevel.*$/start on (local-filesystems and net-device-up IFACE!=lo)/" | tee $AUTOFS_UPSTART

works like a charm