Bug 1074528 - storage volume XML does not escape reserved XML characters
Summary: storage volume XML does not escape reserved XML characters
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-10 13:20 UTC by Cole Robinson
Modified: 2014-03-19 08:41 UTC (History)
10 users (show)

Fixed In Version: libvirt-1.1.3.4-3.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-19 08:41:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Cole Robinson 2014-03-10 13:20:19 UTC
If a file volume in a directory pool has an & character in its name, libvirt doesn't escape the & when generating the volume XML, meaning the XML is invalid and virt-manager/libxml2 can't parse it.

There's already a patch upstream, we just need it in Fedora 20:

commit 6cc4d6a3fe82653c607c4f159901790298e80e1f
Author: Eric Blake <eblake>
Date:   Wed Nov 20 17:04:05 2013 -0700

    storage: use valid XML for awkward volume names

Comment 1 Fedora Update System 2014-03-10 14:46:01 UTC
libvirt-1.1.3.4-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/libvirt-1.1.3.4-3.fc20

Comment 2 Fedora Update System 2014-03-11 04:01:07 UTC
Package libvirt-1.1.3.4-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libvirt-1.1.3.4-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-3702/libvirt-1.1.3.4-3.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-03-19 08:41:21 UTC
libvirt-1.1.3.4-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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