Red Hat Bugzilla – Bug 21114
Map auto_xxxx should not be translated to auto.xxxx, breaks compatibilty with Solaris NIS/YP
Last modified: 2007-04-18 12:29:56 EDT
Map auto_xxxx should not be translated to auto.xxxx this breaks
compatibilty with Solaris NIS/YP and naming service.
In RHL-7 /etc/init.d/autofs changes all maps with name starting 'auto_' to
This is not the way solaris does it.
I run a mixed env with Solaris/sparc ( solaris 7) my map auto_home_ki
is used as auto_home_ki on the Solaris clients.
There is a differnence between file_name and yp map_name
/etc/auto_master -> auto.master
/etc/auto_home -> auto.home
The '.' is related to that the '.' is reservered in NIS+ and is used
between simple names and index named. See NIS+ documentation.
I have tried to use '.' in yp map names and this does NOT work on Solaris.
auto.home_ki doesn NOT work, auto_home_ki does work.
My conclusion is that auto.master and auto.home is special case i Solaris
and that '.'
should be avoided in NIS/YP map names.
There are 2 temporary solutions.
o Edit /var/yp/nicknames and add nickname for the auto.xxxx map.
o Edit /var/yp/Makefile and produce 2 maps auto.xxxx and auto.xxxx.
Neither of the temporary solutions is good considering that you also have
to do changes
on the slave servers.
This will be fixed in autofs-3.1.7-8, in Raw Hide.