Comment 1 for bug 460271

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

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.