All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] 5.0.0_beta1: does not auto-unmount
@ 2007-09-26 10:23 Denys Vlasenko
  2007-09-26 15:26 ` Ian Kent
  2007-09-26 15:34 ` Ian Kent
  0 siblings, 2 replies; 11+ messages in thread
From: Denys Vlasenko @ 2007-09-26 10:23 UTC (permalink / raw)
  To: Ian Kent; +Cc: autofs

[-- Attachment #1: Type: text/plain, Size: 1658 bytes --]

Hi Ian,

I run automount like this:

# automount -f -s -v --timeout 15 /.local/var/service/automount/master.file

My master.file is one-liner:

/mnt/auto program:/.local/var/service/automount/mapper.sh

mapper.sh is attached.

This setup (with this exact mapper.sh) worked flawlessly
with 4.1.4, but with 5.0.0_beta1 I have a problem:

# automount -f -s -v --timeout 15 /.local/var/service/automount/master
Starting automounter version 5.0.0_beta1, master map /.local/var/service/automount/master
using kernel protocol version 5.00
using timeout 15 seconds; freq 4 secs

I do "cd /mnt/auto/vfat.sdb1" (sdb1 is my USB memory stick)
and automount says:

attempting to mount entry /.local/mnt/auto/vfat.sdb1
mounted /mnt/auto/vfat.sdb1

So far so good, mount shows:
/dev/sdb1 on /mnt/auto/vfat.sdb1 type vfat (rw,nosuid,noexec,fmask=0000,dmask=0000,codepage=cp866,iocharset=koi8-r,shortname=win95,quiet,uni_xlate)

But it never auto-unmounts. I am 100% sure nothing
is keeping files or directories busy on /dev/sdb1 (I cd'ed away
from the directory). Automount is not saying anything,
strace -p <PID> shows one line:

rt_sigtimedwait(~[CHLD CONT RTMIN RT_1],

I killed 4 hours of my time making automount 5.0.0 even start on my machine,
and it's 4:00 am here, so at this time I am a rather unhappy panda and
probably I'll go back to 4.1.4 instead of chasing down yet another bug.

# size autofs*/sbin/*
   text    data     bss     dec     hex filename
  35143     916   10084   46143    b43f autofs-4.1.4_beta1/sbin/automount
 118494    1344     884  120722   1d792 autofs-5.0.0_beta1/sbin/automount

During 4.1.4 -> 5.0.0 size has *tripled*. Uncool. :(
--
vda

[-- Attachment #2: mapper.sh --]
[-- Type: application/x-shellscript, Size: 1607 bytes --]

[-- Attachment #3: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

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

end of thread, other threads:[~2007-10-02 13:13 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-26 10:23 [BUG] 5.0.0_beta1: does not auto-unmount Denys Vlasenko
2007-09-26 15:26 ` Ian Kent
2007-09-26 15:34 ` Ian Kent
2007-09-26 16:00   ` Denys Vlasenko
2007-09-26 16:36     ` Ian Kent
2007-09-27 20:14       ` Denys Vlasenko
2007-09-28  3:22         ` Ian Kent
2007-09-30  1:25           ` Denys Vlasenko
2007-10-02  6:09             ` Ian Kent
2007-10-02  9:33               ` Denys Vlasenko
2007-10-02 13:13                 ` 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.