Bug 15183
| Summary: | autofs init script is confused by similar map names | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | redhat |
| Component: | autofs | Assignee: | Nalin Dahyabhai <nalin> |
| Status: | CLOSED RAWHIDE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-08-02 21:11:15 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: | |||
This should be fixed in autofs-4.0.0pre7-22 and later. Please reopen this bug if you find that this is not the case. *** Bug 16033 has been marked as a duplicate of this bug. *** |
Problem with /etc/rc.d/init.d/autofs: Say, I have in my yellowpages two maps: /users auto.users /user auto.users grep on line 107 causes /user to be skipped because /user matches the known map /users. The correct solution would be to grep for whole words: -a "`echo "$knownmaps" | grep \ $dir\ = "" ^^ ^^ <- blank spaces