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.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to