libvirt/examples/apparmor
Jamie Strandboge 3d7320403b update apparmor security driver for new udev paths
In the Ubuntu development release we recently got a new udev that
moves /var/run to /run, /var/lock to /run/lock and /dev/shm to /run/shm.
This change in udev requires updating the apparmor security driver in
libvirt[1].

Attached is a patch that:
 * adjusts src/security/virt-aa-helper.c to allow both
LOCALSTATEDIR/run/libvirt/**/%s.pid and /run/libvirt/**/%s.pid. While
the profile is not as precise, LOCALSTATEDIR/run/ is typically a symlink
to /run/ anyway, so there is no additional access (remember that
apparmor resolves symlinks, which is why this is still required even
if /var/run points to /run).
 * adjusts example/apparmor/libvirt-qemu paths for /dev/shm

[1]https://launchpad.net/bugs/810270

--
Jamie Strandboge             | http://www.canonical.com
2011-07-14 11:41:48 -06:00
..
libvirt-qemu update apparmor security driver for new udev paths 2011-07-14 11:41:48 -06:00
Makefile.am add AppArmor test and examples to dist 2009-12-14 13:40:42 +01:00
TEMPLATE Documentation and examples for SVirt Apparmor driver 2009-10-08 16:42:05 +02:00
usr.lib.libvirt.virt-aa-helper Improve the apparmor example 2010-04-06 23:01:24 +02:00
usr.sbin.libvirtd Improve the apparmor example 2010-04-06 23:01:24 +02:00