All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Rousse <Guillaume.Rousse@inria.fr>
To: autofs@linux.kernel.org
Subject: Re: invalid stat result with autofs 5
Date: Wed, 07 Feb 2007 11:58:55 +0100	[thread overview]
Message-ID: <45C9B0EF.20900@inria.fr> (raw)
In-Reply-To: <4525182B.9010609@inria.fr>

Guillaume Rousse wrote:
> See http://qa.mandriva.com/show_bug.cgi?id=26244
This seems to be fixed with 5.0.1rc3.

However, it is impossible to create new directories directly under mount
point, which is quite problematic for creating new users home directories:
[root@etoile ldapscripts]# mkdir /home/dir/foo
mkdir: cannot create directory `/home/dir/foo': No such file or directory.

From /var/log/messages
Feb  7 11:37:04 etoile automount[25264]: rmdir_path: lstat of foo failed.

From /proc/mounts
ou=auto.home.dir,ou=autofs,dc=msr-inria,dc=inria,dc=fr /home/dir autofs
rw,fd=5,pgrp=25264,timeout=300,minproto=5,maxproto=5,indirect 0 0
ou=auto.home.mi,ou=autofs,dc=msr-inria,dc=inria,dc=fr /home/mi autofs
rw,fd=10,pgrp=25264,timeout=300,minproto=5,maxproto=5,indirect 0 0

no-root-squash NFS option is set, so it is not a write permission
problem. Moreover, the problem doesn't exist if /home/dir is manually
mounted.

  parent reply	other threads:[~2007-02-07 10:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-05 14:35 invalid stat result Guillaume Rousse
2006-10-05 17:24 ` Ian Kent
2007-02-07 10:58 ` Guillaume Rousse [this message]
2007-02-07 14:12   ` invalid stat result with autofs 5 Ian Kent

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=45C9B0EF.20900@inria.fr \
    --to=guillaume.rousse@inria.fr \
    --cc=autofs@linux.kernel.org \
    /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.