Red Hat Bugzilla – Bug 15183
autofs init script is confused by similar map names
Last modified: 2008-05-01 11:37:57 EDT
Problem with /etc/rc.d/init.d/autofs:
Say, I have in my yellowpages two maps:
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
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. ***