Bug 806123

Summary: NIS indirect map bug appears to be back
Product: Red Hat Enterprise Linux 5 Reporter: bmerkel
Component: autofsAssignee: Ian Kent <ikent>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: high    
Version: 5.8CC: anair, bmerkel, ikent, rrajaram
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-16 02:09:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description bmerkel 2012-03-23 00:03:14 UTC
Description of problem:

The autofs bug referred to in the changelog for autofs-5.0.1-0.rc2.163.el5 appears to have come back.  Downgrading to autofs-5.0.1-0.rc2.156.el5_7.4 fixes the problem.


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

How reproducible:
Install the autofs-5.0.1-0.rc2.163.el5 package

Steps to Reproduce:
1. set LOGGING="debug" in /etc/sysconfig/autofs
3. yum upgrade autofs, install autofs-5.0.1-0.rc2.163.el5.x86_64.rpm
4. restart autofs
5. attempt to cd to a directory specifice in an indirect map in NIS
6. mount fails

Downgrading to previous version resolves the issue:
1. yum downgrade autofs, install autofs-5.0.1-0.rc2.156.el5_7.4.x86_64.rpm 
2. restart autofs
3. attempt to cd to a directory specifice in an indirect map in NIS
4. mount succeeds
  
Actual results:
Mount fails (see syslog entries below)

from syslog:
Mar 22 16:50:02 fmnxv03 automount[5039]: lookup_mount: lookup(yp): looking up site
Mar 22 16:50:03 fmnxv03 automount[5039]: lookup_mount: lookup(yp): site -> -fstype=autofs       autofs.nfs.nmfm
Mar 22 16:50:03 fmnxv03 automount[5039]: parse_mount: parse(sun): expanded entry: -fstype=autofs        autofs.nfs.nmfm
Mar 22 16:50:03 fmnxv03 automount[5039]: parse_mount: parse(sun): gathered options: bg,hard,intr,retry=10000,rsize=32768,wsize=32768,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,timeo=600,retrans=5,nfsvers=3,tcp,fstype=autofs
Mar 22 16:50:03 fmnxv03 automount[5039]: validate_location: expected colon delimeter not found in location autofs.nfs.nmfm


Expected results:
Mount succeeds

Additional info:
From the patchnotes of the two packages, it appears this may be a recurrence of bz750463 / bz747200


2011-11-02 19:00:00 
Ian Kent <ikent> - 5.0.1-0.rc2.el5.el5_7.4: 
- bz750463 - autofs-5.0.1-0.rc2.156.el5_7.3 breaks indirect NIS maps
- fix fix map source check in file lookup.
- Resolves: rhbz#750463


and 

2011-10-28 19:00:00 
Ian Kent <ikent> - 5.0.1-0.rc2.161.el5: 
- bz747020 - autofs-5.0.1-0.rc2.156.el5_7.3 breaks indirect NIS maps
- fix fix map source check in file lookup.
- Resolves: rhbz#747020

Comment 1 Ian Kent 2012-03-23 03:18:17 UTC
This is actually a different bug that unfortunately got through
testing. It has already been reported and support are aware of
it.

Contact support and have them follow up on it.

Comment 5 Ian Kent 2012-05-15 01:55:03 UTC
I believe this has been fixed in a RHEL-5.8 update.
Can we close this bug then?

Comment 6 bmerkel 2012-05-15 16:44:48 UTC
Yes, it's been fixed in an update to 5.8.  The bug can be closed.