Red Hat Bugzilla – Bug 9834
problem with /etc/rc.d/init.d/autofs
Last modified: 2008-05-01 11:37:54 EDT
There is a bug in /etc/rc.d/init.d/autofs with "reload" or "restart". The
older automount processes will not get killed.
The problem seems to be in line 149,
if ! grep -q "^$command" $TMP2; then
Here, $TMP2 ought to be $TMP1.
Also "^$command" ought to be "^$command$" or something like that to check
for new options added to the end of the line in the auto.master file.
The first item looks correct; we'll incorporate it into autofs-3.1.4-5 and
later. You might want to bounce this to the autofs mailing list
(email@example.com), which goes to the authors of the codebase that
all distributions use.