automount without NIS weird error

From: Steve Herber (herber@thing.com)
Date: Thu Jul 25 2002 - 20:06:23 EDT


I thought this was going to be an easy System Admin 101 level exercise but I
have wasted too much time on it already. Maybe someone in the group will
notice what I have missed. Thanks.

I have a computer running Tru64 5.1a that has been part of a NIS domain
and it has been using NIS automounts. I turned off NIS, rcmgr set
NIS_CONF NO, took yp out of the /etc/svc.conf file, took the + entries
from /etc/{passwd,group}, and rebooted. NIS is off and the automounts
don't work as expected.

I created auto.master and the other map files, auto.projects, auto.uns, and
auto.tmp. Here is auto.master:

root@mirko / 505 > cat /etc/auto.master
/net -hosts
/- auto.tmp
/projects auto.projects
/uns auto.uns

root@mirko / 506 >

root@mirko /etc 515 > ls -l auto*
-rw-r--r-- 1 root system 50 Jul 25 15:41 auto.master
-rw-r--r-- 1 root system 452 Jul 25 14:25 auto.projects
-rw-r--r-- 1 root system 53 Jul 25 14:24 auto.tmp
-rw-r--r-- 1 root system 400 Jul 25 14:26 auto.uns
lrwxr-xr-x 1 root system 43 May 22 10:45 autopush.conf ->
../cluster/members/{memb}/etc/autopush.conf
root@mirko /etc 516 >

These are the AUTOFS entries in /etc/rc.config:

AUTOFS="1"
AUTOFSMOUNT_ARGS="-v -m -f /etc/auto.master"
AUTOFSD_ARGS="-v"

When the system starts these errors are in syslog.dated/current/user.log:

less /var/adm/syslog.dated/current/user.log
Jul 25 16:45:56 mirko autofsmount[612]: intercept /net mounted
Jul 25 16:45:56 mirko autofsmount[612]: open of file auto.tmp failed -
trying NIS
Jul 25 16:45:56 mirko autofsmount[612]: mapfile_getline: yp_first +auto.tmp:
args to NIS function are bad
Jul 25 16:45:56 mirko autofsmount[612]: open of file auto.projects failed -
trying NIS
Jul 25 16:45:56 mirko autofsmount[612]: check_indirect: mapfile_getline:
yp_first +auto.projects: args to NIS function are bad
Jul 25 16:45:56 mirko autofsmount[612]: intercept /projects mounted
Jul 25 16:45:56 mirko autofsmount[612]: open of file auto.uns failed -
trying NIS
Jul 25 16:45:56 mirko autofsmount[612]: check_indirect: mapfile_getline:
yp_first +auto.uns: args to NIS function are bad
Jul 25 16:45:56 mirko autofsmount[612]: intercept /uns mounted
/var/adm/syslog.dated/current/user.log (END)

I don't mind a few warnings, but with the -m option, to autofsmount
is supposted to tell it to ignore NIS, yet that does not seem to be
happening. Only /net works at all. All the other mount points won't
respond. Any suggestions?

Thanks,

-- 
Steve Herber	herber@thing.com	work: 206-261-0307
Systems Engineer, AMCIS, UoW		home: 425-454-2399


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:47 EDT