From: Lukas Kolbe <lukas@einfachkaffee.de>
To: Ian Kent <raven@themaw.net>
Cc: autofs@linux.kernel.org
Subject: Re: Race condition in autofs 4.1.4
Date: Mon, 29 Jan 2007 21:56:25 +0100 [thread overview]
Message-ID: <1170104185.6774.11.camel@localhost> (raw)
In-Reply-To: <1170089728.3404.18.camel@raven.themaw.net>
On Di, 2007-01-30 at 01:55 +0900, Ian Kent wrote:
> > The system is now through more than 25000 mails, and hasn't hit the bug
> > yet.
> > When it finished delivering, I'll setup another mailbomb and stress it
> > over the night, let's cross fingers that it works. I'll then file a bug
> > with the debian util-linux package and attach the patch to it.
> > Not close()ing the "we_created_lockfile" in unlock_mtab() seems like a
> > bug to me, anyway ;)
>
> Ya, but it gets closed at exit anyway.
Ah, of course!
I sent a mail earlier today, but it didn't come through to the list,
dunno why, hence the Cc: on you.
The bug/race hit again when the system delivered about 95% of the mail,
with a few directories in /homes/ and /nfs4homes/ that belonged to root
and were empty, with an error in syslog that said "/homes/musrXXX
already mounted" (I don't have the exact messages here, can post them
tomorrow when I'm in the office).
This was with the patch minus the typo applied. It seems that the patch
helps the situation, as it happens not that fast, but once it happens,
the directories in question cannot be mounted anymore by the
automounter.
Are there any other patches for mount floating around that I can try? I
only have tomorrow for that because we're now going to implement our
fallback configuration - a patched amd that understands our hesiod maps
and just symlinks the home directories in place. But that feels rather
not very correct ... and I'd much like to see mount fixed, because that
locking code really scares me (I'm not really a C developer, though).
> Ian
--
Lukas
next prev parent reply other threads:[~2007-01-29 20:56 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-26 16:24 Race condition in autofs 4.1.4 Lukas Kolbe
2007-01-26 17:12 ` Ian Kent
2007-01-26 18:10 ` Lukas Kolbe
2007-01-27 1:30 ` Ian Kent
2007-01-27 2:18 ` Ian Kent
2007-01-27 13:10 ` Jan Christoph Nordholz
2007-01-27 13:37 ` Lukas Kolbe
2007-01-28 6:40 ` Ian Kent
2007-01-29 14:33 ` Lukas Kolbe
2007-01-29 15:19 ` Lukas Kolbe
2007-01-29 15:33 ` Lukas Kolbe
2007-02-06 2:04 ` Ian Kent
2007-02-06 9:45 ` Jan Christoph Nordholz
2007-02-06 17:45 ` Ian Kent
2007-01-29 16:55 ` Ian Kent
2007-01-29 20:56 ` Lukas Kolbe [this message]
2007-01-29 21:09 ` Jeff Moyer
2007-01-29 21:21 ` Lukas Kolbe
2007-01-29 21:35 ` Paul Smith
2007-01-30 7:21 ` Ian Kent
2007-01-31 4:46 ` Lukas Kolbe
2007-01-30 7:20 ` Ian Kent
2007-01-30 7:38 ` 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=1170104185.6774.11.camel@localhost \
--to=lukas@einfachkaffee.de \
--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.