Red Hat Bugzilla – Bug 204952
Autofs maps from nis fail with underscore in map name
Last modified: 2007-11-16 20:14:53 EST
Description of problem:
Autofs maps from NIS containing the underscore '_' character are not loaded.
Error logged says 'nsswitch: nsswitch: couldn't find map'.
Version-Release number of selected component (if applicable):
Autofs maps from NIS containing the underscore '_' character work fine with
version 4.1.3-169. Update system to errata pack #4, the maps will fail to load.
Steps to Reproduce:
1. Create NIS autofs maps with an underscore '_' in the name
2. Update to version 4.1.3-187
3. Maps fail to load
Other maps in the auto.master file are loaded. Nsswitch logs to
/var/log/messages about the map not existing.
All of the maps should load.
What is the variable UNDERSCORETODOT set to in /etc/sysconfig/autofs? If it is
1, change it to 0.
Still waiting for answers to comment #1.
It was set to 1, did this option change defaults with the update?
No, the setting itself did not change. The maps that are affected by this
setting changed. Previously, it only applied to auto.home and auto.mnt.
However, the intent of the flag was to affect all maps.
Does setting the flag to 0 make the problem go away?
Yes, changing the flag makes the maps work as I expected. Thank you.