adam@ncifcrf.gov (Adam W. Feigin) (09/27/90)
We've been able to get the automounter to work successfully using ASCII maps (/etc/auto.home, /etc/auto.master), but we have not been able to get it to work with YP maps. With ASCII maps, we invoked automount in the following manner: automount -v -T /net /etc/auto.home (auto.home map) automount -v -T -m -f /etc/auto.master (auto.master) Both of the above work fine. The respective files look like: ---------------------auto.home----------------------------- fciris2 -hard,intr,rw fciris2:/home/fciris2 fciris3 -hard,intr,rw fciris3:/usr/people ---------------------auto.master---------------------------- /net /etc/auto.home All of this works like a charm. Now, we try to make YP maps from these files. The following are the entries we added to /usr/etc/yp/Makefile: auto.master.time: $(DIR)/auto.master cat $(DIR)/auto.master | sed -e '/^#/d' | sed -e '/^$$/d' | \ awk 'BEGIN { OFS ="\t"; } { print $$2, $$0 }' | \ $(MAKEDBM) - $(YPDBDIR)/auto.master ; \ touch auto.master.time; \ echo "updated auto.master"; \ if [ ! $(NOPUSH) ]; then \ $(YPPUSH) auto.master; \ echo "pushed auto.master"; \ else \ : ; \ fi auto.home.time: $(DIR)/auto.home cat $(DIR)/auto.home | sed -e '/^#/d' | sed -e '/^$$/d' | \ awk 'BEGIN { OFS ="\t"; } { print $$1, $$0 }' | \ $(MAKEDBM) - $(YPDBDIR)/auto.home; \ touch auto.home.time; \ echo "updated auto.home"; \ if [ ! $(NOPUSH) ]; then \ $(YPPUSH) auto.home; \ echo "pushed auto.home"; \ else \ : ; \ fi ypcat shows: %ypcat auto.master /net auto.home %ypcat auto.home fciris2 -hard,intr,rw fciris2:/home/fciris2 fciris3 -hard,intr,rw fciris3:/usr/people makedbm shows: %../makedbm -u auto.home fciris2 fciris2 -hard,intr,rw fciris2:/home/fciris2 fciris3 fciris3 -hard,intr,rw fciris3:/usr/people YP_LAST_MODIFIED 0654450399 YP_MASTER_NAME fciris2 %../makedbm -u auto.master /net /net auto.home YP_LAST_MODIFIED 0654451301 YP_MASTER_NAME fciris2 But, when we try to invoke automount with: /usr/etc/automount -v -T it dies without any error message whatsoever. Anyone have an inkling as to what our problem is ? Has anyone got automount running with/under YP (NIS) ?? This is under Irix 3.3.1, on a 4D/70 and 4D/70GT.