libvirt/examples
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
..
apparmor update apparmor security driver for new udev paths 2011-07-14 11:41:48 -06:00
domain-events python: events: Fix C->Python handle callback prototype 2011-06-21 10:08:48 -04:00
dominfo maint: avoid space-tab 2010-12-21 13:21:25 -07:00
domsuspend maint: avoid space-tab 2010-12-21 13:21:25 -07:00
hellolibvirt Fix build in separate build directory 2009-10-01 16:55:09 +02:00
openauth Add openauth example to demonstrate a custom auth callback 2010-07-13 13:50:27 +02:00
python Remove bogus check for Xen in example program 2010-11-29 15:17:00 +00:00
systemtap Include socket address in client probe data 2010-10-22 12:00:45 +01:00
xml nwfilter: enable filtering of gratuitous ARP packets 2011-05-23 19:41:18 -04:00