Bug 502838 - virt-install: Config error will be caused when put any invalid file into /etc/xen
virt-install: Config error will be caused when put any invalid file into /etc...
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python-virtinst (Show other bugs)
5.4
All Linux
low Severity medium
: rc
: ---
Assigned To: Daniel Berrange
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-27 08:50 EDT by Nan Zhang
Modified: 2009-12-14 16:17 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-05-27 08:57:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nan Zhang 2009-05-27 08:50:20 EDT
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 Berrange 2009-05-27 08:57:29 EDT
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.