[libvirt] [PATCH] apparmor: fix virt-aa-helper profile
Jamie Strandboge
jamie at canonical.com
Wed Jan 3 16:10:13 UTC 2018
On Wed, 2018-01-03 at 10:55 +0100, Cédric Bosdonnat wrote:
> Fix rule introduced by commit 0f33025a:
> * to handle /var/run not being a symlink to /run
> * to be properly parsed: missing comma at the end.
> ---
> examples/apparmor/usr.lib.libvirt.virt-aa-helper | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/examples/apparmor/usr.lib.libvirt.virt-aa-helper
> b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
> index 9c822b644..105f09e43 100644
> --- a/examples/apparmor/usr.lib.libvirt.virt-aa-helper
> +++ b/examples/apparmor/usr.lib.libvirt.virt-aa-helper
> @@ -51,7 +51,7 @@ profile virt-aa-helper
> /usr/{lib,lib64}/libvirt/virt-aa-helper {
> /var/lib/libvirt/images/** r,
> /{media,mnt,opt,srv}/** r,
> # For virt-sandbox
> - /run/libvirt/**/[sv]d[a-z] r
> + /{,var/}run/libvirt/**/[sv]d[a-z] r,
>
LGTM. +1 to commit as is.
--
Jamie Strandboge | http://www.canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180103/46c8ac9e/attachment-0001.sig>
More information about the libvir-list
mailing list