TEST CASE: $ cat /tmp/460271.xml | sudo virt-aa-helper -u libvirt-a22e3930-d87a-584e-22b2-1d8950212bac -c --dryrunvirt-aa-helper: warning: path does not exist, skipping file type checks virt-aa-helper: /etc/apparmor.d/libvirt/libvirt-a22e3930-d87a-584e-22b2-1d8950212bac.files virt-aa-helper: "/var/log/libvirt/**/testqemu.log" w, "/var/run/libvirt/**/testqemu.monitor" rw, "/var/run/libvirt/**/testqemu.pid" rwk, "/home/jamie/tmp/test.img" rw, "127.0.0.1" w,
virt-aa-helper: /etc/apparmor.d/libvirt/libvirt-a22e3930-d87a-584e-22b2-1d8950212bac virt-aa-helper: libvirt-a22e3930-d87a-584e-22b2-1d8950212bac virt-aa-helper: #include <libvirt/libvirt-a22e3930-d87a-584e-22b2-1d8950212bac.files>
Notice the "127.0.0.1" w, entry-- it should not be added because it chokes apparmor_parser.
TEST CASE: a22e3930- d87a-584e- 22b2-1d8950212b ac -c --dryrunvirt- aa-helper: warning: path does not exist, skipping file type checks d/libvirt/ libvirt- a22e3930- d87a-584e- 22b2-1d8950212b ac.files log/libvirt/ **/testqemu. log" w, run/libvirt/ **/testqemu. monitor" rw, run/libvirt/ **/testqemu. pid" rwk, jamie/tmp/ test.img" rw,
$ cat /tmp/460271.xml | sudo virt-aa-helper -u libvirt-
virt-aa-helper:
/etc/apparmor.
virt-aa-helper:
"/var/
"/var/
"/var/
"/home/
"127.0.0.1" w,
virt-aa-helper: d/libvirt/ libvirt- a22e3930- d87a-584e- 22b2-1d8950212b ac a22e3930- d87a-584e- 22b2-1d8950212b ac libvirt- a22e3930- d87a-584e- 22b2-1d8950212b ac.files>
/etc/apparmor.
virt-aa-helper:
libvirt-
virt-aa-helper:
#include <libvirt/
Notice the "127.0.0.1" w, entry-- it should not be added because it chokes apparmor_parser.