Bug 985913

Summary: [services] missing name at sysv status
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-setupAssignee: Alon Bar-Lev <alonbl>
Status: CLOSED UPSTREAM QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, alonbl, bazulay, iheim, lpeer, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: is7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-29 07:50:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Belka 2013-07-18 13:37:24 UTC
Description of problem:

# /etc/init.d/ovirt-websocket-proxy status 2>&1
 is stopped

--- /etc/init.d/ovirt-websocket-proxy.orig      2013-07-18 15:31:43.537000384 +0200
+++ /etc/init.d/ovirt-websocket-proxy   2013-07-18 15:36:14.198000383 +0200
@@ -62,7 +62,7 @@ case "$1" in
                [ $RETVAL -eq 0 ] && rm -f "${LOCKFILE}"
                ;;
        status)
-               status -p "${PIDFILE}"
+               status -p "${PIDFILE}" $NAME
                RETVAL=$?
                ;;
        restart)

after...

[root@jb-rh33 ~]# /etc/init.d/ovirt-websocket-proxy restart
Stopping oVirt Engine websockets proxy:                    [  OK  ]
Starting oVirt Engine websockets proxy:                    [  OK  ]
[root@jb-rh33 ~]# /etc/init.d/ovirt-websocket-proxy status
ovirt-websocket-proxy (pid  26701) is running...


Version-Release number of selected component (if applicable):
is6

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Alon Bar-Lev 2013-07-18 15:39:59 UTC
Thanks!

Next time you can just submit a patch[1].

[1] http://gerrit.ovirt.org