Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5265 - automount doesn't work with NIS/YP maps: undefined symbol: yperr_string
Summary: automount doesn't work with NIS/YP maps: undefined symbol: yperr_string
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-19 15:08 UTC by Edward Roper
Modified: 2003-02-04 19:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixes yp lookup error. (missing symbol) (automount.patch,419 bytes, patch)
2002-07-19 15:08 UTC, Edward Roper
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Roper 2002-07-19 15:08:06 UTC
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.
Comment 1 Edward Roper 2002-07-19 15:08:47 UTC
Created attachment 2400 [details, diff]
Fixes yp lookup error. (missing symbol)
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-07-20 15:35:14 UTC
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.
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-21 10:38:02 UTC
Az, understood.  Sorry about that.

Ben, you?
Comment 4 Edward Roper 2002-07-21 14:02:03 UTC
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.
Comment 5 Brad Cowan (RETIRED) gentoo-dev 2002-10-27 00:36:03 UTC
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
Comment 6 Tom Duffy 2002-11-04 21:20:52 UTC
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
Comment 7 Brad Cowan (RETIRED) gentoo-dev 2002-11-17 20:06:16 UTC
reverted to an older initscript, hopefully fixed...please submit another bug if
not :)