SHA256
1
0
forked from pool/libvirt
libvirt/qemu-apparmor-screenshot.patch
James Fehlig 632ffafbbe Accepting request 1039408 from home:jfehlig:branches:Virtualization
- Update to libvirt 8.10.0
  - jsc#PED-1472
  - New virt-qemu-sev-validate utility for validating the
    measurement reported for a domain launched with AMD SEV
  - Many incremental improvements and bug fixes, see
    https://libvirt.org/news.html#v8-10-0-2022-12-01

OBS-URL: https://build.opensuse.org/request/show/1039408
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=958
2022-12-01 21:53:09 +00:00

22 lines
878 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.10.0/src/security/apparmor/libvirt-qemu
===================================================================
--- libvirt-8.10.0.orig/src/security/apparmor/libvirt-qemu
+++ libvirt-8.10.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,