Bug 192604

Summary: rhgb overprints lines (bug in /etc/init.d/functions)
Product: [Fedora] Fedora Reporter: Tony Nelson <tonynelson>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: matthew, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 8.37-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-23 09:43:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150223    

Description Tony Nelson 2006-05-21 20:28:01 UTC
Description of problem:
rhgb overprints several lines near the start of its output.  It probably
overprints all lines that are printed by action().

Version-Release number of selected component (if applicable):
initscripts-8.31.1-1.i386

How reproducible:
Every time.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
In action(), one of the "echo"s is missing redirection.  Apply this patch:

--- /etc/init.d/functions~      2006-02-14 13:41:21.000000000 -0500
+++ /etc/init.d/functions       2006-05-21 16:19:25.000000000 -0400
@@ -447,7 +447,7 @@ action() {
         echo_failure > /etc/rhgb/temp/rhgb-console
        [ -x /usr/bin/rhgb-client ] && /usr/bin/rhgb-client --details=yes
       fi
-      echo
+      echo > /etc/rhgb/temp/rhgb-console
   fi
   return $rc
 }

Comment 1 Miloslav Trmač 2006-07-09 04:17:47 UTC
*** Bug 135577 has been marked as a duplicate of this bug. ***

Comment 2 Miloslav Trmač 2006-07-09 04:19:39 UTC
Fixed in CVS.  Thanks for the patch.