Bug 84608 - autofs can corrupt /proc/mounts NIS
autofs can corrupt /proc/mounts NIS
Status: CLOSED DUPLICATE of bug 111436
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: autofs (Show other bugs)
2.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-19 10:57 EST by James McDermott
Modified: 2014-08-24 20:55 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 13:51:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description James McDermott 2003-02-19 10:57:52 EST
We have been fairly badly affected by autofs bugs:
#55931 and #65003 in bugzilla.  I have already
attached comments and a suggested workaround to these
bugs; would appreciate feedback and ideally a
new patched version of autofs, 
This is yet another related problem with autofs has 
just come to light which my
workaround is not able to address:

Context: autofs-3.1.7-21 and kernel-2.4.9-e.3
rpms from AS2.1.

automounts are looked up in NIS.  One such
mount is mounted and busy (files under it used
by running processes).  While still mounted,
the NIS maps are changed so that a new mount is
configured for that same mountpoint.

Problem: The next time requests are made for
that mountpoint, autofs will automount the new
mount over the old one.  As Alan Cox suggests in
bug #65003 above, autofs should *never* allow 
multiple mounts on the same point.

----------
Context: autofs-3.1.7-21 and kernel-2.4.9-e.3 rpms from AS2.1. 

----------
Stock ypbind-1.8-1 AS2.1.
There is nothing else installed which could interfere with
this behaviour.

----------
It happened without the patch from bug 65003, but the patch will not
fix the NIS bug, only the two other bugs, since the
patch only affects stopping and starting the autofs
service, whereas the NIS bug is the only bug of the 3
which occurs without doing a stop or a start (or a restart).

That is why my patch is more of a workaround - a proper
fix should probably go in daemon/automount.c in the
autofs source.
Comment 1 Adam Spiers 2003-02-19 12:14:55 EST
(reported initially by me through Issue Tracker)
Comment 4 Jeffrey Moyer 2004-03-19 18:02:55 EST

*** This bug has been marked as a duplicate of 111436 ***
Comment 5 Adam Spiers 2004-06-30 05:19:49 EDT
I do not have access to view bug 111436 so I cannot see the resolution.
Comment 6 Giuseppe Raimondi 2004-06-30 05:46:07 EDT
bug 111436 is an internal bug.
Resolution will probably be RHEL 3 U3 and RHEL 2.1 U5 as mentioned in IT.
Comment 7 Red Hat Bugzilla 2006-02-21 13:51:52 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.