All of lore.kernel.org
 help / color / mirror / Atom feed
* bug doing simple stat call to mountpoint
@ 2011-06-05 16:44 Stef Bon
  2011-06-05 17:26 ` Stef Bon
  2011-06-05 21:37 ` Stef Bon
  0 siblings, 2 replies; 5+ messages in thread
From: Stef Bon @ 2011-06-05 16:44 UTC (permalink / raw)
  To: autofs

  Hi,

I'm using autofs 5.0.5, kernel 2.6.38.6.

In the construction I'm working on I got the following error:

stat /mnt/mount.md5key/sbon/0/0a8805e89f4cc6653185a4ec4335cca1
stat: cannot stat 
`/mnt/mount.md5key/sbon/0/0a8805e89f4cc6653185a4ec4335cca1': No such 
file or directory
sbon [ 
/tmp/mount.md5key/users/sbon/cache/0a8805e89f4cc6653185a4ec4335cca1 ]$ 
ls /mnt/mount.md5key/sbon/0/0a8805e89f4cc6653185a4ec4335cca1
<gives contents as expected>

The automounter does not call the mount command in the first case, and 
like it should in the second.

mount | grep 55ed
//SCLFS20091030/sbon on 
/mnt/mount.md5key/sbon/0/55ed21dee4bb9604117a013e57dc5690 type cifs (rw)


When then again the first command (=share is mounted):

stat /mnt/mount.md5key/sbon/0/55ed21dee4bb9604117a013e57dc5690
   File: `/mnt/mount.md5key/sbon/0/55ed21dee4bb9604117a013e57dc5690'
   Size: 0               Blocks: 0          IO Block: 16384  directory
Device: 19h/25d Inode: 77256       Links: 35
Access: (0755/drwxr-xr-x)  Uid: ( 4000/    sbon)   Gid: ( 3000/netgroup)
Access: 2011-06-05 18:06:06.000000000 +0200
Modify: 2011-06-05 18:03:00.000000000 +0200
Change: 2011-06-05 18:03:00.000000000 +0200



This not ok.

I've reinstalled autofs with the latest patches already, did not help.

Stef

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-07  4:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-05 16:44 bug doing simple stat call to mountpoint Stef Bon
2011-06-05 17:26 ` Stef Bon
2011-06-05 21:37 ` Stef Bon
2011-06-06  7:07   ` Stef Bon
2011-06-07  4:32     ` 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.