nsswitch.conf is set like so: ... automount: files ... However the /etc/init.d/autofs script is still using NIS (via ypcat) to get an auto.master map.
Dont anybody use autofs anymore ? I certainly do not, and that is why I have not gotten to the two (or maybe three) bugs about it.
I find autofs useful especially with our machines at work, but I'm not aware of how widely it's used elsewhere. In the autofs(8) man page it states that NIS is consulted for a map. There is no mention of nsswitch.conf, so perhaps my assumptions were wrong and this is not a bug at all. Equally, the nsswitch.conf(5) man page does not mention an automount database. In any case, I probably should have posted this bug with a lower severity and/or priority. I've amended that now.
I use autofs all the time. What else is there? Is there any chance of *any* of these things getting fixed?
I should have said -- "what else is there when using NFS" -- as someone here in the lab just pointed out. Sorry, autofs related "issues" on Gentoo are getting old around here. Scott
uhm, unless you want to hardmount things, what alternatives are there to autofs? I use it daily at work and privatly, and can't really live without it. anyhow, another bug is found, autofs should also depend on portmap -- otherwise it takes forever to do mounts. I'll post this as another bug. if there are any issues with autofs I'd be happy to look at it, I can't really survive without it.
Scott, Terje: have either of you fixed this or other autofs bugs still pending? if so, please report in the appropriate bug reports and send me an e-mail immediately coz we need to talk
scott, terje: please see my previous comment talk to me in irc if at all possible
Hi Saw your message. We have some fixes but there are other bugs(?) we never bothered with that others have mentioned here (and elsewhere). I would *love* to get these things fixed and am willing to chip in wherever I can and work with whomever is having problems. Off the top of my head some remaining problems are: 1. Startup dependancy issues (e.g. portmap) 2. Currently, automount just dies after a while (don't know why this happens) 3. Wierd (okay different) startup procedure ignoring nsswitch.conf etc. 4. Something like "autofs status" does not work properly (minor) Again, I would be very happy to help out here but would like to confer about what others have working and have fixed - in other words where are things? I am not much of an IRC user so you will have to tell me where and when (and how! :-) ) Scott
sorry for the delay, I've been otherwise occupied. for me, autofs is stable, and the dependency on portmap is the only real gotcha. I miss a solid "autofs status", but it's not a burning issue... and since I don't use NIS for my gentoo-boxes I can't verify nsswitch.conf-problems either. ;-/
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
hopefully fixed, please submit another bug if you're having more problems :)
Hi actually, most of this stuff can be fixed by correcting the /etc/init.d/autofs need/use statements. Just adding a need portmap is not really fixing the problem as autofs does not need portmap - nfs does. But not everyone uses NFS - which is how we got here in the first place. Our autofs script now includes the following... need localmount // for all you floppy,cd,zip mounters use ypbind nfs As I mentioned autofs does not use portmap - nfs and ypbind do which already 'use portmap' properly. Anyone using autofs to mount directories from a server are probably using nis and nfs. autofs includes a facility to specify a nis map to use for looking up the mountpoint. Without these settings things will *still not work* Thanks, Scott
well I made the init file need localmount use nfs ypbind, I'll see if I get any complaints, hopefully not :) afaik though autofs doesn't need userland NFS tools to mount remote nfs shares just kernel support and portmap. THX