------- my /etc/autofs/auto.master ------- # the only line below /home yp auto.home ------- original /tmp/debug ------- STARTUPOPTIONS DIR /home MAPTYPE program MAP /etc/yp MAPOPTIONS auto.home LOCALOPTIONS ----- /tmp/debug after commenting out all of "# Handle degenerate map specifiers" ----- STARTUPOPTIONS DIR /home MAPTYPE yp MAP yp MAPOPTIONS auto.home LOCALOPTIONS As you can see after taking out the fancy degenerate map if statements, I get better behavior, but still not right. I think it should be like this: ------ STARTUPOPTIONS DIR /home MAPTYPE yp MAP auto.home MAPOPTIONS LOCALOPTIONS I hope the init.d/autofs is re-written soon, as the other two autofs bugs are with the init.d script.
*** Bug 27695 has been marked as a duplicate of this bug. ***
I think the simpiler solution is that the nsswitch.conf file needs to be updated if you are going to use distributed (ie. nis) auto.master and other files. the default: automount: files my change: automount: files nis I've made this change on both Gentoo Alpha 1.4 and on a P3 SMP distribution in which the auto.master is being served from a Tru64 Alpha NFS/NIS server and everything is working like a charm...
Um... you have a bug in your auto.master file.... it should read /home yp:auto.master you are missing the ':' I have never been able to find a doc for this... I just know this is how it is supposed to be.
I'm with Quentin here. You need that :.
Yup, that worked. Thanks.