Comment 3 for bug 1824812

Revision history for this message
Christian Ehrhardt  (paelzer) wrote : Re: Migrations to Disco trigger "Unable to find security driver for model apparmor"

Pure parsing works (was broken int he past)

$ cat << EOF > /tmp/test.xml
  <domain type='kvm'>
    <name>test-seclabel</name>
    <uuid>12345678-9abc-def1-2345-6789abcdef00</uuid>
    <memory unit='KiB'>1</memory>
    <os><type arch='x86_64'>hvm</type></os>
    <seclabel type='dynamic' model='apparmor' relabel='yes'/>
    <seclabel type='dynamic' model='dac' relabel='yes'/>
  </domain>
  EOF
  $ /usr/lib/libvirt/virt-aa-helper -d -r \
    -u libvirt-12345678-9abc-def1-2345-6789abcdef00 < /tmp/test.xml