Description of problem: The hypervkvpd service in the RHEL5.9 guest can't be started by the commands "service hypervkvpd start" and "/etc/init.d/hypervkvpd start". Details: [root@localhost ~]# service hypervkvpd status hv_kvp_daemon is stopped [root@localhost ~]# service hypervkvpd start [root@localhost ~]# service hypervkvpd status hv_kvp_daemon is stopped [root@localhost ~]# /etc/init.d/hypervkvpd start [root@localhost ~]# service hypervkvpd status hv_kvp_daemon is stopped Got the result as below when run with "-x": ... + HV_KVP_BIN=/usr/sbin/hv_kvp_daemon + lockfile=/var/lock/subsys/hypervkvpd + test -x /usr/sbin/hv_kvp_daemon + case "$1" in + rh_status_q + rh_status + exit 0 ... There is an redundant line in the rh_status function, which makes the status of rh_status_q always true. Below update make the problem fixed: rh_status() { # run checks to determine if the service is running or use generic status status $HV_KVP_BIN - RETVAL=$? + #RETVAL=$? } Version-Release number of selected component (if applicable): Host: Windows 2008 R2 Hyper-V Hyper-V Version: 6.1.7600.16385 Guest: Both RHEL5.9 i386 & RHEL5.9 x86_64 (2.6.18-339.el5) Hypervkvpd package Name: hypervkvpd-0-0.5.el5 Pv drivers: [root@localhost ~]# lsmod |grep hv_* hv_netvsc 25665 0 hid_base_hv 68177 1 hid_hyperv hv_utils 12001 0 hv_storvsc 17601 2 hv_vmbus 30265 4 hv_netvsc,hid_hyperv,hv_utils,hv_storvsc How reproducible: 100% Steps to Reproduce: 1.Install hypervkvpd-0-0.5.el5 in the 2.6.18-339.el5 guest on Hyper-V host. [root@localhost ~]# rpm -q hypervkvpd hypervkvpd-0-0.5.el5 2.Start the service via "service hypervkvpd start". 3.Check the status of the service hypervkvpd and Start the service via "/etc/init.d/hypervkvpd start" 4.Check the status of the service hypervkvpd. Actual results: At step 3 and the step 4, the service hypervkvpd is stopped. Details: [root@localhost ~]# service hypervkvpd status hv_kvp_daemon is stopped Expected results: At step 3 and the step 4, the service hypervkvpd is running. Additional info: 1. The commands "/etc/init.d/hypervkvpd restart" and "service hypervkvpd restart" are useful to start the service hypervkvpd.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
I fixed the initscript so that rh_status() function explicitly returns the RETVAL value. Can you please test this scratch build? https://brewweb.devel.redhat.com/taskinfo?taskID=4823691 Thanks.
(In reply to comment #3) > https://brewweb.devel.redhat.com/taskinfo?taskID=4823691 Sorry, wrong link. The right one is: https://brewweb.devel.redhat.com/taskinfo?taskID=4823687
(In reply to comment #4) > (In reply to comment #3) > > https://brewweb.devel.redhat.com/taskinfo?taskID=4823691 > > Sorry, wrong link. The right one is: > https://brewweb.devel.redhat.com/taskinfo?taskID=4823687 Test it on both i386 guest and x86_64 guest with the new package (hypervkvpd-0-0.6.el5). The commands "service hypervkvpd start" and "/etc/init.d/hypervkvpd start" work well. Thanks!
(In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > https://brewweb.devel.redhat.com/taskinfo?taskID=4823691 > > > > Sorry, wrong link. The right one is: > > https://brewweb.devel.redhat.com/taskinfo?taskID=4823687 > > Test it on both i386 guest and x86_64 guest with the new package > (hypervkvpd-0-0.6.el5). The commands "service hypervkvpd start" and > "/etc/init.d/hypervkvpd start" work well. > > > > > Thanks! So change the status to verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-0111.html