Bug 278931
Summary: | Invalid config files and ordinary text files in /etc/xen cause libvirt error messages | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Jan Mark Holzer <jmh> | ||||
Component: | libvirt | Assignee: | Richard W.M. Jones <rjones> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 5.4 | CC: | berrange, nzhang, syeghiay, xen-maint | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-09-02 09:21:39 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 475821 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Jan Mark Holzer
2007-09-05 17:57:56 UTC
I could not reproduce this in Update 2 with virt-manager, but it shows with virsh: [root@test2 ~]# cat /etc/xen/foo #!/bin/sh echo hello world [root@test2 ~]# virsh list --all libvir: error : configuration file syntax error: expecting an assignment Id Name State ---------------------------------- 0 Domain-0 running 2 backup blocked - fedora8 shut off - freeipa shut off - migr5 shut off - rawhide shut off [root@test2 ~]# I'm not sure there is a proper way to really separate an error in a xen config file and a shell script put there by mistake. Daniel We can't prevent people putting random files in this directory. The only improvement I'd suggest is that we make the error message include the filename of the config file, so its clear which file they need to remove. Moved to 5.4, see discussion here: http://post-office.corp.redhat.com/archives/virtualist/2008-September/thread.html#00173) Setting to POST because we have a patch available. Created attachment 316931 [details]
libvirt-0.3.3-xm-conf-errors.patch
Proposed patch to improve error message reporting.
This bug is addressed by the 0.6.1 rebase for 5.4 This has been verified in libvirt 0.6.3-3 on rhel-5.4. Already fixed. Verified steps: 1. Copy text file and shell script into /etc/xen 2. Start virt-manager, and no any error message appears 3. Check ~/.virt-manager/virt-manager.log, no errors found An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1269.html |