Bug 985913 - [services] missing name at sysv status
Summary: [services] missing name at sysv status
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-setup
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.3.0
Assignee: Alon Bar-Lev
QA Contact: Pavel Stehlik
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-18 13:37 UTC by Jiri Belka
Modified: 2015-09-22 13:09 UTC (History)
7 users (show)

Fixed In Version: is7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-29 07:50:10 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 17088 0 None None None Never

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


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