Bug 208219 - Included map recursive key lookup leads to SEGV
Summary: Included map recursive key lookup leads to SEGV
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Ian Kent
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-27 04:30 UTC by Ian Kent
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version: autofs-5.0.1-0.rc2.7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-10-06 03:40:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
fix included map recursive map key lookup. (3.75 KB, patch)
2006-09-27 04:30 UTC, Ian Kent
no flags Details | Diff

Description Ian Kent 2006-09-27 04:30:52 UTC
Description of problem:
Recursive map key lookup causes SEGV.

Version-Release number of selected component (if applicable):
autofs-5.0.1-0.rc2.6

How reproducible:
Always.

Steps to Reproduce:
1. Create file map which "+" includes NIS map of same name.
2. Create the NIS map of that name.
3. Add entry for file map to master map and start autofs.
3. Ensure /etc/nsswitch.conf has "automount: files nis" as
   map sources.
4. Perform mount lookup (of key in NIS map but not present
   in local file map) by accessing automount directory.
  
Actual results:
Lookup loops recursively on file lookup until autofs SEGVs.

Expected results:
Recursion dectected on key lookup in file map so autofs
progresses to NIS source.

Additional info:

Comment 1 Ian Kent 2006-09-27 04:30:52 UTC
Created attachment 137199 [details]
fix included map recursive map key lookup.


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