Browse code

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

Ian Wienand authored on 2014/07/23 13:24:11
Showing 1 changed files
... ...
@@ -94,11 +94,7 @@ function cleanup_rpc_backend {
94 94
 function install_rpc_backend {
95 95
     if is_service_enabled rabbit; then
96 96
         # Install rabbitmq-server
97
-        # the temp file is necessary due to LP: #878600
98
-        tfile=$(mktemp)
99
-        install_package rabbitmq-server > "$tfile" 2>&1
100
-        cat "$tfile"
101
-        rm -f "$tfile"
97
+        install_package rabbitmq-server
102 98
     elif is_service_enabled qpid; then
103 99
         if is_fedora; then
104 100
             install_package qpid-cpp-server