I recently posted a question to the list because autofs does not work
for me : it exits almost immediatly without doing anything.
(kernel is 2.1.105, loader is ld-2.0.6.so, libc-2.0.6.so, autofs 3.1.3)
I've just found where the problem occurs, it allows me to use
a (dirty) workaround but I would like to understand what is wrong
with my configuration.
The program vanishes mysteriously in mount_init() of mount_nfs.c.
It turns out that getprotobyname() is a black hole (as well as
getservbyname()) : you never returns from these functions.
I've commented out the calls to these functions using hardcoded default
values instead and the daemon started to work happily.
I've checked using a small standalone program that getprotobyname("udp")
returns 17 as expected.
BTW : It is really painful to debug automount, since it forks immediatly
I do not know how to use gdb : I have inserted hundreds of syslog(LOG_DEBUG)
to find out what was going on.
Cheers,
--
____________________________________________________________________________
Jean-Paul Le Fevre http://www.multimania.com/lefevre
E-mail : [EMAIL PROTECTED] Tel : (33) [0]1 69 08 74 50