Red Hat Bugzilla – Bug 128979
autofs does not see changes in NIS automounter map
Last modified: 2014-01-21 17:49:54 EST
Description of problem:
We use NIS to provide automounter maps for autofs. Our NIS server is
hosted on a RH7.3 system.
When we modified an automounter map on the NIS server, and did a make,
autofs on the FC2 machines did not see the updated automounter map. If
we did "ypcat mapname" on the FC2 machines, we saw the updated lines,
but autofs didn't automatically get the changes. The FC1 and RedHat
7.3 systems automatically saw the NIS map update. We had to do a "kill
-HUP" on the autofs daemons to get the updates on FC2. This seems to
be always reproducable.
This is quite a serious problem, as the FC2 machines saw the original
autofs mountpoints until we did a kill -HUP.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Configure autofs to listen to a NIS map.
2. Change the automounter map and type make.
The auto.master map looks like this:
[root@xserv1 src]# cat auto.master
/home auto.home -rsize=8192,wsize=8192,intr
/data auto.data -rsize=8192,wsize=8192,intr
/data1 auto.data1 -rsize=8192,wsize=8192,intr
/scratch auto.scratch -rsize=8192,wsize=8192,intr
This is a known problem. A proposed patch is undergoing testing
currently and will be available in the coming weeks.
*** Bug 134792 has been marked as a duplicate of this bug. ***
In my case, bug 1374792, even doing the 'kill -HUP' did not get
autofs to see the changes. But probably the underlying bug is the
Any status change on this known bug?
Also - on the systems I have where this bug has shown up we've had to do:
kill -HUP $pidof_automount
then it fixed it.
Unfortunately we don't have any FC3 machines to test for the fix. Maybe we/you
could try doing an update on the autofs rpm? :-)
There has been no fix released for this issue just yet. When an rpm containing
the fix is available, I will update the bug.
A fix for this now appears in FC3 and Rawhide. Please re-open this bug if you
find the problem has not been resolved.