Bug 450253 - missing newline after `service rhnsd reload`
Summary: missing newline after `service rhnsd reload`
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: up2date
Version: 4.7
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: John Matthews
QA Contact: Fanny Augustin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-06 09:02 UTC by Petr Sklenar
Modified: 2008-07-24 20:06 UTC (History)
2 users (show)

Fixed In Version: RHBA-2008-0771
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-24 20:06:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0771 0 normal SHIPPED_LIVE up2date bug fix update 2008-07-23 17:20:34 UTC

Description Petr Sklenar 2008-06-06 09:02:49 UTC
Description of problem:
There is missing new line after service rhnsd reload

Version-Release number of selected component (if applicable):
up2date-4.7.1-3

How reproducible:
always

Steps to Reproduce:
1. service rhnsd reload
2. look at string "[  OK  ]"
Actual results:
# service rhnsd reload
#                    [  OK  ]


Expected results:
# service rhnsd reload   [  OK  ]

Additional info:

Comment 2 John Matthews 2008-06-16 16:00:38 UTC
Fixed in svn rev#174045

This is now similar to start/stop behavior.
Below is what it should look like

# service rhnsd reload
Reloading Red Hat Network Daemon:                          [  OK  ]

Below is the change.

Index: rhnsd.init
===================================================================
--- rhnsd.init  (revision 173960)
+++ rhnsd.init  (working copy)
@@ -51,6 +51,12 @@
         rm -f /var/lock/subsys/rhnsd
     fi
 }
+reload() {
+    echo -n $"Reloading Red Hat Network Daemon: "
+    killproc rhnsd -HUP
+    RETVAL=$?
+    echo
+}

 # See how we were called.
 case "$1" in
@@ -75,9 +81,8 @@
        fi
        ;;
     reload)
-       killproc rhnsd -HUP
-       RETVAL=$?
-        ;;
+    reload
+    ;;
     *)
        echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"
        ;;


Comment 9 errata-xmlrpc 2008-07-24 20:06:09 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0771.html


Note You need to log in before you can comment on or make changes to this bug.