[PATCH aeolus-configure] Bug 860780 - output from aeolus-restart-services is misleading, reports both success and failure

Jason Guiditta jguiditt at redhat.com
Fri Sep 28 17:59:46 UTC 2012


On 28/09/12 12:30 -0500, Steve Linabery wrote:
>addresses https://bugzilla.redhat.com/show_bug.cgi?id=860780
>
>These three scripts were sometime producing confusing output. We were invoking
>`service foo stop` for example which often outputs the string '[FAILED]' even
>though the process exits with status 0. So our script would output something
>thoroughly confusing like 'Success: [FAILED]'.
>
>Better to discard the output of `service foo {action}` in the case when the
>subprocess exits 0. We will still output what we get from STDOUT when the
>subprocess exits non-zero.
>---
ACK, this all looks reasonable enough. I'll push it to master for you
momentarily.

-j



More information about the aeolus-devel mailing list