lkml.org 
[lkml]   [1998]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: autofs bug report
Date
Followup to:  <36033A20.B6F16A3C@geocities.com>
By author: Slava <slava_pestov@geocities.com>
In newsgroup: linux.dev.kernel
>
> There is a bug in autofs 3.1.1 with linux 2.1.122. If you manually
> mount a filesystem onto it's mount point as specified in the
> automount map, it hangs.
>

This is really a case of "don't do that, then"; this means someone
with root privileges has done something fundamentally stupid. And
yes, it does cause deadlock. I don't really consider this a bug; a
wart, perhaps, and not one worth spending a lot of time on.

> For example, if I have this in my
> /etc/auto.vol: floppy -fstype=vfat,user :/dev/fd0 And do a mount
> /dev/fd0 /vol/floppy, I get this in my process list: 100 0 483 481
> 15 0 852 288 down_failed D ? 0:00 mount -- this is the mount
> spawned by automount. 100 0 480 76 9 0 856 292 end S 1 0:00 mount
> -- this is the manually spawned mount. What is probably happening
> is the first mount is locking /dev/fd0, and the second attempts to
> access it. It waits for the first one, which won't exit until the
> second one is done.

-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.081 / U:0.248 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site