Bug 195948

Summary: xend service startup spews error on non-Xen kernel
Product: [Fedora] Fedora Reporter: Nalin Dahyabhai <nalin>
Component: xenAssignee: Xen Maintainance List <xen-maint>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: bstein, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-21 16:33:40 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 150224    

Description Nalin Dahyabhai 2006-06-19 16:20:21 EDT
Description of problem:
The 'xend' service, which is enabled by default, spews an error message when it
attempts to start when run on a non-Xen kernel.

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

How reproducible:
Always

Steps to Reproduce:
1. Boot kernel-2.6.16-1.2289_FC6
2. /sbin/service xend start
  
Actual results:
grep: /proc/xen/capabilities: No such file or directory

Expected results:
Something else, probably.
Comment 1 Jeremy Katz 2006-06-19 17:22:59 EDT
The initscript should check and if not on a xen kernel (maybe just by checking
if [ -d /proc/xen]), exit silently.
Comment 2 Jeremy Katz 2006-09-21 16:33:40 EDT
This is fixed now