Bug 502838 - virt-install: Config error will be caused when put any invalid file into /etc/xen
Summary: virt-install: Config error will be caused when put any invalid file into /etc...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-virtinst
Version: 5.4
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-27 12:50 UTC by Nan Zhang
Modified: 2009-12-14 21:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-27 12:57:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nan Zhang 2009-05-27 12:50:20 UTC
Description of problem:
Drop any files into /etc/xen will cause an error message.

Version-Release number of selected component (if applicable):
rhel-5.4
libvirt 0.6.3-3

How reproducible:
Always

Steps to Reproduce:
1. Copy 2 files test123 and virtinst-test.sh to /etc/xen
2. Run virt-install command to install guest domain
  
Actual results:
Retrieving file .treeinfo...                             |  442 B     00:00
Retrieving file vmlinuz...                               | 1.9 MB     00:00
Retrieving file initrd.img...                            | 6.6 MB     00:00
Creating domain...                                       |    0 B     00:00
libvir: Config error : /etc/xen/test123:1: expecting an assignment
libvir: Config error : /etc/xen/virtinst-test.sh:17: expecting an assignment
libvir: Config error : /etc/xen/test123:1: expecting an assignment
libvir: Config error : /etc/xen/virtinst-test.sh:17: expecting an assignment

Expected results:
No error messages.

Additional info:
Similar like bug 278931.

Comment 1 Daniel Berrangé 2009-05-27 12:57:29 UTC
I think you are mis-understanding the goal of bug 278931.  We were *not* attempting to remove these errors messages, rather we added details about the filename and line number containing the error. This allows the admin to identify and delete the bogus non-config file in /etc/xen.

These errors you see are thus expected & correct. Delete the files it is complaining about - ie test123 and virtinst-test.sh


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