Bug 156035
| Summary: | Autofs uses local /etc file map in preference to NIS if one exists | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | Paul Waterman <paulwaterman> |
| Component: | autofs | Assignee: | Jeff Moyer <jmoyer> |
| Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | RHEL3U7NAK | ||
| Fixed In Version: | RHBA-2006-0459 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2006-07-20 14:43:08 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 181405 | ||
|
Description
Paul Waterman
2005-04-26 19:58:30 UTC
The logic in the init script does not appear to have changed. How is this a change in behaviour from U4? Thanks. I just answered my own question. Before if a map name was not an absolute path, you would just look for it in the current working directory. This was reported as a bug, and we fixed this by attempting to read it from /etc. Now, because of this, a failure to find a file map results in success, whereas before you would fall through to the yp case. This is tricky. Fix one bug, and you break things for others. The only way to make everybody happy is to do this the right way (by consulting /etc/nsswitch.conf). For U5, however, this isn't in the cards. I will attempt to put this logic after the yp case. The specific behaviour described in this bug is fixed in autofs-4.1.3-130 as officially released in RHEL 3.0 U5. Therefore, this bug should probably be closed. Whoops. Never mind. Somebody re-imaged my U5 test machine back to U4. This problem DOES still exist in autofs-4.1.3-130 -- drop a file in /etc with the same name as an NIS automount map and watch it override the NIS map. Paul, I think this is a dup of your bug 145152. However, I am going to leave this bug open, since it documents a regression that has not been addresses in U5. If this is really causing you pain, please let me know. Otherwise, I'm going to work on the proper fix for this problem for Update 6. Thanks. Same basic bug as 145152. Deferring work. This issue is on Red Hat Engineering's list of planned work items for the upcoming Red Hat Enterprise Linux 3.8 release. Engineering resources have been assigned and barring unforeseen circumstances, Red Hat intends to include this item in the 3.8 release. A fix for this issue has just been committed to the RHEL 3 U8 pool. It will be available in autofs versions 4.1.3-178 and later. 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 the 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-2006-0459.html |