[Bug 511245] Re: portmap is not started during boot process before autofs and hence autofs does not work properly

Cédric Dufour cdufour-keyword-ubuntu.086000 at ced-network.net
Wed Mar 17 19:46:13 GMT 2010


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
Server Team, which is subscribed to autofs in ubuntu.



More information about the Ubuntu-server-bugs mailing list