>From [EMAIL PROTECTED]  Tue Feb  6 10:00:42 2001
>Return-Path: <[EMAIL PROTECTED]>
Received: from hera.kernel.org (IDENT:[EMAIL PROTECTED] [209.10.217.83])
        by gateway.camelot.jp (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id KAA17103
        for <[EMAIL PROTECTED]>; Tue, 6 Feb 2001 10:00:39 +0900
Received: (from majordom@localhost)
        by hera.kernel.org (8.9.3/8.9.3) id QAA02809
        for autofs-list; Mon, 5 Feb 2001 16:19:42 -0800
Received: from selene.cps.intel.com (selene.cps.intel.com [192.198.165.10])
        by hera.kernel.org (8.9.3/8.9.3) with ESMTP id QAA02806
        for <[EMAIL PROTECTED]>; Mon, 5 Feb 2001 16:19:42 -0800
Received: from SMTP (fmsmsxvs04-1.fm.intel.com [132.233.42.204])
        by selene.cps.intel.com (8.9.1a+p1/8.9.1/d: relay.m4,v 1.33 2000/11/21 
19:27:27 smothers Exp $) with SMTP id QAA11092;
        Mon, 5 Feb 2001 16:19:00 -0800 (PST)
Received: from fmsmsx27.FM.INTEL.COM ([132.233.48.27]) by 132.233.48.204
  (Norton AntiVirus for Internet Email Gateways 1.0) ;
  Tue, 06 Feb 2001 00:19:00 0000 (GMT)
Received: by fmsmsx27.fm.intel.com with Internet Mail Service (5.5.2650.21)
        id <DRV8ZK4H>; Mon, 5 Feb 2001 16:18:58 -0800
Message-ID: <[EMAIL PROTECTED]>
From: "Taylor, ForrestX" <[EMAIL PROTECTED]>
To: "'Jeremy Fitzhardinge'" <[EMAIL PROTECTED]>,
  "Taylor, ForrestX" <[EMAIL PROTECTED]>
Cc: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
Subject: RE: Redhat 6.2 autofs and the /net directory
Date: Mon, 5 Feb 2001 16:18:55 -0800 
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Mailer: Internet Mail Service (5.5.2650.21)
Sender: [EMAIL PROTECTED]
Precedence: bulk
Status: O
Content-Length: 2475
Lines: 70

Jeremy,

Thanks for getting back to me.  I installed autofs4 as a module, and it
works for several systems.  However, if I try to auto mount a host that
gives a 'permission denied,' it will not continue with the next ones.

I.e., on icecream, I have the following mounts:

/disks/cc
/disks/vob
/disks/admin
/home/bill

/home/bill is rwx only by the user/group.  I am not a part of that
group/user.  When I cd into /net/icecream, it says no such file or
directory.  I check /var/log/messages, and I see that mount:
icream:/home/bill failed.  Reason given by server: Permission denied.

Is there any way to get around this?  I know I read something about such a
problem in the archives, but I cannot find it right now.

Thanks,

Forrest

BTW we are using NIS on icream.

-----Original Message-----
From: Jeremy Fitzhardinge [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 3:31 PM
To: Taylor, ForrestX
Cc: '[EMAIL PROTECTED]'
Subject: Re: Redhat 6.2 autofs and the /net directory


On Mon, Feb 05, 2001 at 11:45:55AM -0800, Taylor, ForrestX wrote:
> I've read the archives, and I have a few questions about the /net
directory.
> I want to auto mount directories in /net under the
> /net/<hostname>/<exports>/<dirs>.  It seems that there is a solution using
> the new autofs4.  I don't _really_ want to do this unless it is very
stable,
> because this is for a production environment, and I am installing machines
> via Kickstart NFS install.  I can patch the kernel and rebuild the rpm (I
> already have to do it for a couple of other programs), but I want to know
if
> there is a solution that I can use with the existing systems
(autofs-3.1.4,
> kernel 2.2.16).

No.  The whole point of doing autofs4 was to enable this feature.
Autofs has been pretty reliable for me and people I know who use it, but
I'd love to get some more feedback.  There are no serious outstanding bugs
(in fact all the bugs are map parsing nits, from memory).

> Can I use the auto.net file from autofs-4?

If you upgrade the automount daemon to 4, you may be able to use it for
hosts which export a single filesystem from / (ie: host:/).  I haven't
tested it, and it's not very useful in practice.  autofs3 won't cope
with auto.net at all.

> Will it work at
> getting the exports/directories from other hosts (BTW must the hosts be in
> /etc/hosts, or can I get them via NIS/NFS?)?

auto.net just looks them up using the resolver, so however you have that
set up (generally DNS).

        J

Reply via email to