Bug 237615

Summary: command service xend status returns wrong value
Product: [Fedora] Fedora Reporter: vikram goyal <vikigoyal>
Component: xenAssignee: Daniel Berrange <berrange>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: bstein, katzj, xen-maint
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 3.0.4-1.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-26 21:34:41 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description vikram goyal 2007-04-24 03:01:19 EDT
Description of problem:
service xend status return value $? is 0 even if it is not running.

Version-Release number of selected component (if applicable):
xen-3.0.3-8.fc6

How reproducible:
always

Steps to Reproduce:
1.service xend status
2.echo $?
3.
  
Actual results:

0
Expected results:
1

Additional info:
adding exit 1 after line 61 of /etc/init.d/xend file will solve it
Comment 1 Mark McLoughlin 2007-05-04 11:09:03 EDT
This looks like it was fixed in rawhide by danpb in 3.0.4-1.fc7
Comment 2 Mark McLoughlin 2007-05-04 11:34:49 EDT
Okay, dan plans to include this in the next FC-6 update. Re-opening
Comment 3 Chris Lalancette 2008-02-26 21:34:41 EST
FC6 is now end-of-life, so closing this bug out.  Please re-test on Fedora 7 or
later, and open a new bug if your problem persists.

Thanks.