[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 20:55:50 GMT 2010
After a few reboot, it seems I found the quick-'n-elegant fix for that
issue:
root at lucid-golden:~ # cat /etc/init/autofs-ldap.conf
# Restart AutoFS-LDAP after everything has settled
start on (stopped networking and stopped rc RUNLEVEL=[2345])
exec /etc/init.d/autofs restart
Problem with depending on 'portmap' is that it may not be installed
(since 'autofs5' only recommends 'nfs-common' and indirectly 'portmap')
and may not be necessary (it seems one may use autofs-ldap to mount
other-than-NFS network filesystem, e.g. CIFS).
Now comes the issue of a (ported) /etc/init/autofs.conf: should it
necessarily depend on 'networking' (and thus make the /etc/init/autofs-
ldap.conf unnecessary) or can we imagine that autofs may be used for
non-network filesystems (and should thus not depend on 'networking';
/etc/init/autofs-ldap.conf should thus be kept separate, with the
'networking' dependency but without the 'rc' one) ?
Hope this helps. Cheers
--
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