Re: [PATCH] update apparmor security driver for new udev paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/14/2011 11:06 AM, Jamie Strandboge wrote:
> 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

ACK and pushed.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]