mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
Fixed regression in apparmor profiles for qemu brought by 43c030f
This commit is contained in:
parent
faad5582e4
commit
0500fbd4b6
@ -1281,7 +1281,9 @@ main(int argc, char **argv)
|
||||
if (vah_add_file(&buf, ctl->newfile, "rw") != 0)
|
||||
goto cleanup;
|
||||
} else {
|
||||
if (ctl->def->virtType == VIR_DOMAIN_VIRT_QEMU) {
|
||||
if (ctl->def->virtType == VIR_DOMAIN_VIRT_QEMU ||
|
||||
ctl->def->virtType == VIR_DOMAIN_VIRT_KQEMU ||
|
||||
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",
|
||||
|
Loading…
Reference in New Issue
Block a user