From 7ccf4e025a3bcb90b4fe419b232742a67746872b Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 23 Jul 2014 14:24:11 +1000 Subject: [PATCH] Remove output filter on rabbitmq install The original workaround was for an init script that grabbed stdout. This was some time ago and I think it's safe to remove. It can be a problem on Fedora; out-of-the-box some old F20 images can have a broken dependency when rabbitmq installs. With this in place, all helpful output goes into the temp log file, but it is never shown because the install_packages function exits the script. Thus things just stop and you have no idea why. Change-Id: I2f5b934492a8c9d7b93e89fdcfa776bf15f25cb8 --- lib/rpc_backend | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/rpc_backend b/lib/rpc_backend index e922daa078..a62d4e71a8 100644 --- a/lib/rpc_backend +++ b/lib/rpc_backend @@ -94,11 +94,7 @@ function cleanup_rpc_backend { function install_rpc_backend { if is_service_enabled rabbit; then # Install rabbitmq-server - # the temp file is necessary due to LP: #878600 - tfile=$(mktemp) - install_package rabbitmq-server > "$tfile" 2>&1 - cat "$tfile" - rm -f "$tfile" + install_package rabbitmq-server elif is_service_enabled qpid; then if is_fedora; then install_package qpid-cpp-server