All of lore.kernel.org
 help / color / mirror / Atom feed
* /tmp/autoXXXXXX artifacts in /etc/mtab
@ 2009-06-04  1:18 Jim Dennis
  2009-06-04  4:21 ` Ian Kent
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Dennis @ 2009-06-04  1:18 UTC (permalink / raw)
  To: 'autofs@linux.kernel.org'



 All,

 Running autofs version 5 (versions from RHEL4u7, RHEL5 and the upstream 5.0.4 with almost
 all of the patches applied) we're seeing quite a few issues with stray /tmp/auto* entries being
 left in the /etc/mtab file.

 The symptom is lots of error messages from df commands.

 Looking through the sources I see that autofs version 5 seems to implement its own internal
 mount handling (it's not just spawning process to run the /sbin/mount external command
 for any of the types of mounts for which it has a .so module).  I noticed that there are  three
 different places in the code which use tempfile template strings matching /tmp/autoXXXXXX.

 I haven't get been able to track the issue down further ... but I suspect there's a bug in the
 code that's updating /etc/mtab and which is supposed to be cleaning out these entries.
 We have a horrendously busy and complex automount infrastucture and we've uncovered
 locking issues on /etc/mtab in the past (from the /sbin/mount code as well as during the
 period of time when autofs4 was trying to wrap its own locking around its calls to the external
 mount command.

 I'll try to get a more detailed formal bug report together in the next week or so.  However, I
 figured I should put out an early message in case others are seeing this or already working on it.


--
Jim Dennis,
Senior Staff Linux Engineer, IT
Cadence Design Systems, Inc.

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

end of thread, other threads:[~2009-06-04  4:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-04  1:18 /tmp/autoXXXXXX artifacts in /etc/mtab Jim Dennis
2009-06-04  4:21 ` 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.