From: Denys Vlasenko <vda.linux@googlemail.com>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: [BUG] 5.0.0_beta1: does not auto-unmount
Date: Wed, 26 Sep 2007 11:23:41 +0100 [thread overview]
Message-ID: <200709261123.41401.vda.linux@googlemail.com> (raw)
[-- 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
next reply other threads:[~2007-09-26 10:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-26 10:23 Denys Vlasenko [this message]
2007-09-26 15:26 ` [BUG] 5.0.0_beta1: does not auto-unmount 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
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=200709261123.41401.vda.linux@googlemail.com \
--to=vda.linux@googlemail.com \
--cc=autofs@linux.kernel.org \
--cc=raven@themaw.net \
/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.