The problem is the same for NIS:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/119660

I do agree that porting autofs to upstart would be ideal. Unfortunately,
it seems it requires a good knowledge of Ubuntu's upstart events chain
to do it properly. Maybe someone knowledgeable enough with the latter
can come up with an elegant rewrite of
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/119660/comments/17

I had in mind something like /etc/init/autofs-ldap.conf (that would be part of 
the autofs5-ldap package):
[...]
start on (started rc-sysinit and started portmap)
[...]
script
  [ -e /usr/lib/autofs/lookup_ldap.so ] || exit 0
  /etc/init.d/autofs restart
end script

Would that do the trick elegantly enough ?

-- 
portmap is not started during boot process before autofs and hence autofs does 
not work properly
https://bugs.launchpad.net/bugs/511245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to