Red Hat Bugzilla – Bug 190877
Autofs does not allow a file map to include a nis map of the same name
Last modified: 2007-11-30 17:07:09 EST
Description of problem:
It is common to have a master map which solely references a YP map, as follows:
The current included map support precludes the use of such maps, as it falsely
detects this as a recursive map inclusion. (Well, it actually works for
auto.master, but not for any other map).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Setup a master map:
automount: files nis
# service autofs start
The automounter will fail to load the nis map.
If everything works properly, the automounter would create a /misc directory,
and you would see a list of directories from the yp map auto.misc. (to obtain
the map contents of auto.misc, simply do a 'ypcat -k auto.misc').
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.