Bug 208219

Summary: Included map recursive key lookup leads to SEGV
Product: [Fedora] Fedora Reporter: Ian Kent <ikent>
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED CURRENTRELEASE QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: ikent, jmoyer
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: autofs-5.0.1-0.rc2.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-10-06 03:40:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fix included map recursive map key lookup. none

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.