[Bug 672948] [NEW] Inconsistent XML config checks

wodny 672948 at bugs.launchpad.net
Tue Nov 9 09:51:00 GMT 2010


Public bug reported:

1) http://libvirt.org/formatdomain.html#elementsMetadata states:
"This name should consist only of alpha-numeric characters".

2) /usr/share/libvirt/schemas/domain.rng:
<element name="name">
  <ref name="domainName"/>
</element>

<define name="domainName">
    <data type="string">
      <param name="pattern">[A-Za-z0-9_\.\+\-&amp;:/]+</param>
    </data>
  </define>

3) Virsh accepts <name> with spaces, but then during a vm start some
misguiding output is generated. It says aa_change_profile() fails. Virsh
doesn't check the config with the schema as well.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Inconsistent XML config checks
https://bugs.launchpad.net/bugs/672948
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list