Bug 187355 - "xm create" checks current dir for domain config before /etc/xen
Summary: "xm create" checks current dir for domain config before /etc/xen
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: xen
Version: 5
Hardware: i686
OS: Linux
medium
low
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-03-30 12:41 UTC by Kwan Lowe
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-05 22:51:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kwan Lowe 2006-03-30 12:41:24 UTC
Description of problem:
The "xm create" script checks the current directory before /etc/xen. If the
current directory contains a file/dir of the same name as a config file it will
kick back an error. 


Version-Release number of selected component (if applicable):
xen-3.0.1-4
FC5

How reproducible:
Create a file/dir in the current directtory that matches the name of an existing
/etc/xen config file. 


Steps to Reproduce:
1. mkdir /tmp/foo; cd /tmp/foo; touch xm01; mkdir xm02
2. xm create xm01
3. xm create xm02
  
Actual results:
Using config file "xm02".
Error: [Errno 21] Is a directory: 'xm02'

[root@darkstar foo]# xm create xm01
Using config file "xm01".
Error: No kernel specified

Expected results:
xm should check /etc/xen before the current dir to locate the config file.

Additional info:

Comment 1 Daniel Veillard 2006-12-05 22:51:03 UTC
based on comment #2 of bug 211697 this got fixed upstream:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211697

Daniel


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