On 06/16/2011 05:48 AM, [email protected] wrote:
> The postfix ra worked well.
thanks for testing my ra. i'll check the ra and will then issue a
pull request.
> However, my patch made a mistake.
> I do not seem to get the result of postfix status.
> It is necessary to watch log of postfix in the details of the problem after
> all.
>
> Therefore, I withdraw the patch of the part of postfix status.
>
> diff -r 19c97e0021f0 postfix
> --- a/postfix Thu Jun 16 21:45:53 2011 +0900
> +++ b/postfix Thu Jun 16 21:46:01 2011 +0900
> @@ -98,12 +98,8 @@
> postfix_running() {
> # run Postfix status if available
> if ocf_is_true $status_support; then
> - output=`$binary $OPTION_CONFIG_DIR status 2>&1`
> - ret=$?
> - if [ $ret -ne 0 ]; then
> - ocf_log err "Postfix status: '$output'." $ret
> - fi
> - return $ret
> + $binary $OPTION_CONFIG_DIR status 2>&1
> + return $?
> fi
>
> # manually check Postfix's pid
it's been a while since i looked into the code.
why do you want to issue "postfix status" if /usr/sbin/postfix
does not support this command?
thanks,
raoul
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/