Bug 16033 - autofs init script excludes valid maps
Summary: autofs init script excludes valid maps
Status: CLOSED DUPLICATE of bug 15183
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: autofs
Version: 7.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-08-11 21:56 UTC by Steve Dum
Modified: 2008-05-01 15:37 UTC (History)
0 users

Clone Of:
Last Closed: 2000-08-11 22:39:49 UTC

Attachments (Terms of Use)

Description Steve Dum 2000-08-11 21:56:07 UTC
The autofs script has been 'enhanced' in 6.9 to remove
duplicate auto.master entries.  Nice idea, however, 
the implementation is faulty.  We have the following
entries in our yp auto.master (amoung others)

/users auto.users   -rw,hard,intr,noquota
/tools auto.project  -rw,hard,intr,noquota
/user auto.users   -rw,hard,intr,noquota
/home auto.users   -rw,hard,intr,noquota
/wv auto.wv    -rw,hard,intr,noquota
Since the code right now does a simple 
    "`echo "$knownmaps" | grep $dir`" = ""
rather than searching for duplicate entries, it searches 
for previous entries that contain the later string.

It was real surprising to see most of the mounts appear but
/user wouldn't mount.  (because /users was already a mount point.)

Comment 1 Nalin Dahyabhai 2000-08-11 22:23:58 UTC
This should already be fixed in the latest Raw Hide refresh from the build tree.

*** This bug has been marked as a duplicate of 15183 ***

Comment 2 Steve Dum 2000-08-11 22:39:46 UTC
Not True- Rawhide has 

which is the same version I have loaded.  It hasn't been fixed,
unless the package number didn't roll.

Comment 3 Nalin Dahyabhai 2000-08-11 22:57:51 UTC
As I marked in 15183, the bug was fixed in 4.0.0pre7-22.  Version 3.1.5-3 in
http://people.redhat.com/nalin/test/ also includes the fix.

*** This bug has been marked as a duplicate of 15183 ***

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