mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
apparmor: Adjust path to domain monitor socket
f1f68ca33
moved the monitor socket to a per domain directory. Adjust the
path accordingly.
This commit is contained in:
parent
97d26e470d
commit
ee7d5c312b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user