On Wed, Feb 2, 2011 at 12:47 PM, Don Krause <[log in to unmask]> wrote: > Would somebody with access to RHEL 6 please see if this bug exists in RHEL's version? (This changed from the old stop; start definition to this function sometime between the public RH beta, and the SL6 beta.) > > Notice the lack of "$prog" in the SL6 version. > > This prevents "service autofs restart" from working. > > Thanks > > My patch: > > diff --git a/autofs b/autofs > index d7afe85..75065e7 100755 > --- a/autofs > +++ b/autofs > @@ -126,7 +126,7 @@ function stop() { > } > > function restart() { > - status > /dev/null 2>&1 > + status $prog > /dev/null 2>&1 > if [ $? -eq 0 ]; then > stop > fi Someone reported this bug upstream during the beta period. Looks as if it will be fixed in 6.1. https://bugzilla.redhat.com/show_bug.cgi?id=624444 Akemi