[libvirt] [PATCH] apparmor: Adjust path to domain monitor socket

Martin Kletzander mkletzan at redhat.com
Sun Aug 30 11:51:28 UTC 2015


On Sat, Aug 29, 2015 at 06:16:29PM +0200, Guido Günther wrote:
>f1f68ca33 moved the monitor socket to a per domain directory. Adjust the
>path accordingly.
>---
>It'd be nice to have this in 1.2.19 since it unbreaks starting qemu based domains.
>

ACK && safe for freeze, sorry for that.

> src/security/virt-aa-helper.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/src/security/virt-aa-helper.c b/src/security/virt-aa-helper.c
>index b4a8f27..5de56e5 100644
>--- a/src/security/virt-aa-helper.c
>+++ b/src/security/virt-aa-helper.c
>@@ -1361,7 +1361,7 @@ main(int argc, char **argv)
>                 ctl->def->virtType == VIR_DOMAIN_VIRT_KVM) {
>                 virBufferAsprintf(&buf, "  \"%s/log/libvirt/**/%s.log\" w,\n",
>                                   LOCALSTATEDIR, ctl->def->name);
>-                virBufferAsprintf(&buf, "  \"%s/lib/libvirt/**/%s.monitor\" rw,\n",
>+                virBufferAsprintf(&buf, "  \"%s/lib/libvirt/qemu/domain-%s/monitor.sock\" rw,\n",
>                                   LOCALSTATEDIR, ctl->def->name);
>                 virBufferAsprintf(&buf, "  \"%s/run/libvirt/**/%s.pid\" rwk,\n",
>                                   LOCALSTATEDIR, ctl->def->name);
>--
>2.1.4
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150830/88016395/attachment-0001.sig>


More information about the libvir-list mailing list