SCIENTIFIC-LINUX-USERS Archives

February 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Akemi Yagi <[log in to unmask]>
Reply To:
Akemi Yagi <[log in to unmask]>
Date:
Wed, 2 Feb 2011 13:12:35 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
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

ATOM RSS1 RSS2