From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steve Herber Newsgroups: gmane.os.tru64.managers Subject: automount without NIS weird error Date: Thu, 25 Jul 2002 17:06:23 -0700 (PDT) Sender: tru64-unix-managers-owner@ornl.gov Message-ID: References: <5.1.1.2.2.20020725015816.01bc2ef8@pop.myrealbox.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1027643185 3187 127.0.0.1 (26 Jul 2002 00:26:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 26 Jul 2002 00:26:25 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17Xsw3-0000pI-00 for ; Fri, 26 Jul 2002 02:26:23 +0200 Original-Received: (qmail 20976 invoked by uid 5); 26 Jul 2002 00:06:32 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20968 invoked from network); 26 Jul 2002 00:06:32 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 26 Jul 2002 00:06:32 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZT0031LXMVIO@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 25 Jul 2002 20:06:32 -0400 (EDT) Original-Received: from thing.com (thing.com [216.39.145.27]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GZT0028GXMQRQ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 25 Jul 2002 20:06:28 -0400 (EDT) Original-Received: from localhost (herber@localhost) by thing.com (8.11.6/8.9.3) with ESMTP id g6Q06Ps31878 for ; Thu, 25 Jul 2002 17:06:25 -0700 In-Reply-To: <5.1.1.2.2.20020725015816.01bc2ef8@pop.myrealbox.com> Original-To: tru64-unix-managers@ornl.gov Xref: main.gmane.org gmane.os.tru64.managers:1109 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1109 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