All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukas Kolbe <lukas@einfachkaffee.de>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: nested automounts: bind and nfs
Date: Tue, 02 Oct 2007 12:25:53 +0200	[thread overview]
Message-ID: <1191320754.27255.7.camel@localhost> (raw)
In-Reply-To: <1191300830.26331.24.camel@raven.themaw.net>


Am Dienstag, den 02.10.2007, 12:53 +0800 schrieb Ian Kent:
> On Mon, 2007-10-01 at 16:08 +0200, Lukas Kolbe wrote:
> > Hi!
> > 
> > I'm having the problem that was described last year on this list:
> > http://osdir.com/ml/linux.kernel.autofs/2006-08/msg00040.html
> > 
> > Given the following mount map:
> > 


> Can you post a debug log of this failure please.
> Instructions to get what we need can be found at
> http://people.redhat.com/jmoyer.

Okay:

/etc/auto.master:
/vol    /etc/auto_vol_linx_new

autofs5 version: 5.0.2-4, that is the same as in debian experimental
plus all patches from the kernel.org directory applied.

auto_vol_linx_new contains:

eclipse-3.1 \
   /bin          -rw,nosuid,grpid          fileserver:/volumes/vol1/eclipse-3.1/bin.linx86
eclipse \
   /bin          -rw,nosuid,grpid          :/vol/eclipse-3.1/bin

Which should bind-mount /vol/eclipse/bin from /vol/eclipse-3.1/bin, and
nfs-mount /vol/eclipse-3.1/bin from the fileserver.

lkolbe@lahn cgrep /etc/nsswitch.conf 
passwd:         compat
group:          compat
shadow:         compat
hosts:          files dns mdns
networks:       files
protocols:      db files
services:       db files
ethers:         db files
rpc:            db files
automount:      files nis
netgroup:       nis

lkolbe@lahn cgrep /etc/default/autofs
MASTER_MAP_NAME="/etc/auto.master"
TIMEOUT=300
BROWSE_MODE="no"
LOGGING="debug"

Trying to reproduce it:

lkolbe@lahn ls -la /vol/eclipse/bin/
ls: /vol/eclipse/bin/: No such file or directory

lkolbe@lahn ls -la /vol/eclipse-3.1/bin/
total 0
drwxrwsr-x 2 root eclipse 96 2007-09-12 14:34 .
dr-xr-xr-x 7 root root     0 2007-10-02 12:16 ..
-rw-r--r-- 1 root eclipse  0 2007-09-12 14:34 foo

lkolbe@lahn ls -la /vol/eclipse/bin/
ls: /vol/eclipse/bin/: No such file or directory

And a few seconds later:

lkolbe@lahn ls -la /vol/eclipse/bin/
total 0
drwxrwsr-x 2 root eclipse 96 2007-09-12 14:34 .
dr-xr-xr-x 8 root root     0 2007-10-02 12:16 ..
-rw-r--r-- 1 root eclipse  0 2007-09-12 14:34 foo

daemon.log comes in the next mail.

> Ian

-- 
Lukas

  reply	other threads:[~2007-10-02 10:25 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-01 14:08 nested automounts: bind and nfs Lukas Kolbe
2007-10-01 14:17 ` Lukas Kolbe
2007-10-02  4:53 ` Ian Kent
2007-10-02 10:25   ` Lukas Kolbe [this message]
     [not found]   ` <1191321007.27255.12.camel@localhost>
     [not found]     ` <1191332917.26331.171.camel@raven.themaw.net>
2007-10-02 14:40       ` Lukas Kolbe
2007-10-10 14:15       ` Lukas Kolbe
2007-10-10 14:34         ` Lukas Kolbe
2007-10-10 15:15         ` Ian Kent
2007-10-10 15:29           ` Lukas Kolbe
2007-10-10 16:47             ` Ian Kent
2007-10-10 17:02               ` Lukas Kolbe
2007-10-11  8:45                 ` Ian Kent
2007-10-11  9:11                   ` Ian Kent
2007-10-11 10:49                   ` Lukas Kolbe
2007-10-11 11:43                     ` Ian Kent
2007-10-11 13:43                       ` Success! (was: Re: nested automounts: bind and nfs) Lukas Kolbe
2007-10-11 14:36                         ` Ian Kent
2007-10-17 10:19                   ` nested automounts: bind and nfs Lukas Kolbe
2007-10-11  3:13         ` Ian Kent
2007-10-11  8:24           ` Lukas Kolbe
2007-10-02  5:03 ` Ian Kent
2007-11-08 16:44 ` Lukas Kolbe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1191320754.27255.7.camel@localhost \
    --to=lukas@einfachkaffee.de \
    --cc=autofs@linux.kernel.org \
    --cc=raven@themaw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.