automount /some-mount-point yp somenis.map == cannot open lookup module yp (/usr/lib/autofs//lookup_yp.so: undefined symbol: yperr_string). This is because lookup_yp.so depends on libnsl which isn't linked to automount. I'm attaching a simple patch.
Created attachment 2400 [details, diff] Fixes yp lookup error. (missing symbol)
Seemant, can you guys please find somebody else for the autofs/automount stuff? The reason most of the bugs is still pending in bugzilla, is because I rarely have used it in the past, and do not now. I thus do not have much experience with it, and feel that I am not the best suited person for this. If there is nobody else, Ill have a look, but it will have low priority.
Az, understood. Sorry about that. Ben, you?
Not sure exactly what's involved in maintaining a gentoo package. But if you have trouble finding someone I'd be interested in helping out. As far as autofs and am-utils I use them quite extensively in a corporate deployment.
I know these bugs are rather old, but I've been assigned to try and solve some of them. I just committed an -r4 of autofs which changes a few things and hopefully helps out. Mainly added a use portmap, and there should be a functional stats option that should funtion like the usual status, as status is already predefined to show if the daemon is running or not.*NOTE that is stats not status. Hopefully some library compile issues are also fixed. Any help with autofs would be appreciated because I myself have only used it to check on these bugs and see how it functions, maily because I have no real use for it. Please contact me with any improved scripts or changes you have made. Thanks
this new one is not working for because the "timeout" is not in the right place the start() function. getmounts is returning lines like this for me: /usr/sbin/automount /src yp auto.src ro,intr,noquota,nosuid,retry=3 --timeout=60 and you parse each line with: getmounts | while read cmd timeout mnt rest so, it is sticking the mount in $timeout and the type of mount (file or yp) into $mnt, screwing things up. -tduffy
reverted to an older initscript, hopefully fixed...please submit another bug if not :)