* invalid stat result @ 2006-10-05 14:35 Guillaume Rousse 2006-10-05 17:24 ` Ian Kent 2007-02-07 10:58 ` invalid stat result with autofs 5 Guillaume Rousse 0 siblings, 2 replies; 4+ messages in thread From: Guillaume Rousse @ 2006-10-05 14:35 UTC (permalink / raw) To: autofs See http://qa.mandriva.com/show_bug.cgi?id=26244 -- Guillaume Rousse Projet Estime, INRIA Domaine de Voluceau Rocquencourt - B.P. 105 78153 Le Chesnay Cedex - France ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: invalid stat result 2006-10-05 14:35 invalid stat result Guillaume Rousse @ 2006-10-05 17:24 ` Ian Kent 2007-02-07 10:58 ` invalid stat result with autofs 5 Guillaume Rousse 1 sibling, 0 replies; 4+ messages in thread From: Ian Kent @ 2006-10-05 17:24 UTC (permalink / raw) To: Guillaume Rousse; +Cc: autofs On Thu, 2006-10-05 at 16:35 +0200, Guillaume Rousse wrote: > See http://qa.mandriva.com/show_bug.cgi?id=26244 What kernel version? What additional patches have been applied? Ian ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: invalid stat result with autofs 5 2006-10-05 14:35 invalid stat result Guillaume Rousse 2006-10-05 17:24 ` Ian Kent @ 2007-02-07 10:58 ` Guillaume Rousse 2007-02-07 14:12 ` Ian Kent 1 sibling, 1 reply; 4+ messages in thread From: Guillaume Rousse @ 2007-02-07 10:58 UTC (permalink / raw) To: autofs 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: invalid stat result with autofs 5 2007-02-07 10:58 ` invalid stat result with autofs 5 Guillaume Rousse @ 2007-02-07 14:12 ` Ian Kent 0 siblings, 0 replies; 4+ messages in thread From: Ian Kent @ 2007-02-07 14:12 UTC (permalink / raw) To: Guillaume Rousse; +Cc: autofs On Wed, 2007-02-07 at 11:58 +0100, Guillaume Rousse wrote: > 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. > I think we need more infomation here. What is the kernel version and have any additional patches been added? What is the version of autofs and have any patches been added? I don't quite understand the problem description either. What are the maps that are being used? Is the browse (--ghost) option being used? If we get a clear description of the problem then we may need a debug log, but right now I wouldn't know what to look for. It isn't possible to create directories in an autofs filesystem itself, and never has been, as that is the responsibility of the user space daemon. Due to changes in recent kernels and the fact that I got criticized for autofs creating directories as root on NFS mounted file systems the mount point directories that you wish to mount must already exist on the remote server. autofs creating these directories is considered a security risk. If you wished to create directories on a remote server then the parent directory must be mounted, one way or another, then given that you have permission, you could create the directories. > >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. > > _______________________________________________ > autofs mailing list > autofs@linux.kernel.org > http://linux.kernel.org/mailman/listinfo/autofs ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-07 14:12 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-10-05 14:35 invalid stat result Guillaume Rousse 2006-10-05 17:24 ` Ian Kent 2007-02-07 10:58 ` invalid stat result with autofs 5 Guillaume Rousse 2007-02-07 14:12 ` Ian Kent
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.