SHA256
1
0
forked from pool/libvirt
libvirt/qemu-apparmor-screenshot.patch
James Fehlig 8188d60a2c Accepting request 1059454 from home:jfehlig:branches:Virtualization
- Update to libvirt 9.0.0
  - jsc#PED-620
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v9-0-0-2023-01-16
  - Added patches:
    ef482951-apparmor-Allow-umount-dev.patch

OBS-URL: https://build.opensuse.org/request/show/1059454
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=963
2023-01-18 22:49:05 +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-9.0.0/src/security/apparmor/libvirt-qemu
===================================================================
--- libvirt-9.0.0.orig/src/security/apparmor/libvirt-qemu
+++ libvirt-9.0.0/src/security/apparmor/libvirt-qemu
@@ -254,3 +254,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,