Comment 23 for bug 573919

Revision history for this message
Maciej Puzio (maciej-puzio) wrote : Re: autofs doesn't work with lucid

On yet another machine autofs would not start correctly neither with the workaround from comment #15, nor without it. My efforts to convince Upstart to run startup scripts in a correct sequence ended in an utter failure. What I did instead is to modify /etc/init/autofs.conf so that Upstart doesn't touch autofs at boot at all, by changing line "start on (filesystem and net-device-up IFACE!=lo)" to "start on never". I then added the following line to /etc/rc.local: "service autofs start" (before "exit 0" line). Works like a charm, though feels like going back to the days before sysv-init was invented.