This is fixed in 0.7.0-1ubuntu13.1.

$ sudo rm -f 
/etc/apparmor.d/libvirt/libvirt-a22e3930-d87a-584e-22b2-1d8950212ba*
$ cat /tmp/460271.xml | sudo virt-aa-helper -u 
libvirt-a22e3930-d87a-584e-22b2-1d8950212bac -c --dryrun
virt-aa-helper: warning: 127.0.0.1
virt-aa-helper: warning:   skipped non-absolute path
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,

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>


$ cat /tmp/460271.xml | sudo virt-aa-helper -u 
libvirt-a22e3930-d87a-584e-22b2-1d8950212bac -r --dryrun
virt-aa-helper: warning: 127.0.0.1
virt-aa-helper: warning:   skipped non-absolute path
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,

-- 
virt-aa-helper fails when serial or console type is 'tcp'
https://bugs.launchpad.net/bugs/460271
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to