Bug 506034
Summary: | Line to include non existent map in auto.master will result in subsequent mounts being ignored. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Sachin Prabhu <sprabhu> | ||||
Component: | autofs | Assignee: | Ian Kent <ikent> | ||||
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE <qe-baseos-auto> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.3 | CC: | ikent, jmoyer, tao | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | autofs-5.0.1-0.rc2.133.el5 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-03-30 08:37:11 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
Sachin Prabhu
2009-06-15 11:15:51 UTC
(In reply to comment #0) > > The fix appears to be to simply delete the following lines in > lookup_read_master() > > if (!master->recurse) { > master->name = save_name; > master->depth--; > master->recurse = 0; > fclose(f); > return NSS_STATUS_UNAVAIL; > } Yes, that does seem approiate. I wonder what I was thinking when I did that! Let me think about it a little more. Ian Created attachment 366380 [details]
Patch to fix included map read fail handling
A test package including the above patch is available at: http://people.redhat.com/~ikent/autofs-5.0.1-0.rc2.132.bz506034.1.el5 Please test and report result. Build autofs-5.0.1-0.rc2.133.el5 of autofs contains the changes discussed here. In addition to the reproducer above the RHTS test bz506034 within the bugzillas workflow tests detects the issue resolved by this change. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0265.html |