SHA256
1
0
forked from pool/libvirt
libvirt/qemu-apparmor-screenshot.patch
James Fehlig 85ae3cda41 Accepting request 1008079 from home:jfehlig:branches:Virtualization
- Update to libvirt 8.8.0
  - jsc#PED-620, jsc#PED-1540
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v8-8-0-2022-10-03
- spec: Switch from monolithic to modular daemons for Factory

OBS-URL: https://build.opensuse.org/request/show/1008079
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=949
2022-10-05 14:41:22 +00:00

22 lines
875 B
Diff

From 99d654438cb259bee70d23363b2d5aefee830c7e Mon Sep 17 00:00:00 2001
From: Jim Fehlig <jfehlig@suse.com>
Date: Tue, 5 Jul 2022 11:56:28 -0600
Subject: apparmor: Add rule allowing qemu to write screenshots
Not sure who added this patch. See bug#904426 for possible suspects.
---
src/security/apparmor/libvirt-qemu | 3 +++
1 file changed, 3 insertions(+)
Index: libvirt-8.8.0/src/security/apparmor/libvirt-qemu
===================================================================
--- libvirt-8.8.0.orig/src/security/apparmor/libvirt-qemu
+++ libvirt-8.8.0/src/security/apparmor/libvirt-qemu
@@ -253,3 +253,6 @@
# required for QEMU accessing UEFI nvram variables
owner /var/lib/libvirt/qemu/nvram/*_VARS.fd rwk,
owner /var/lib/libvirt/qemu/nvram/*_VARS.ms.fd rwk,
+
+ # Temporary screendump rule -- See bsc#904426
+ /var/cache/libvirt/qemu/qemu.screendump.* rw,