File apparmor-revert-8f882cf3.patch of Package libvirt.11330
commit b9567aee6240b9602cb09a315ca6ee4cf4786ed6
Author: Jim Fehlig <jfehlig@suse.com>
Date: Fri Sep 21 13:39:23 2018 -0600
Revert "apparmor: allow unix stream for p2p migrations"
This reverts commit 8f882cf36e4709b103fa237253052d09ff349cfe.
Remove unsupported rules from libvirtd apparmor profile for SLE12 SP4.
Index: libvirt-4.0.0/examples/apparmor/usr.sbin.libvirtd
===================================================================
--- libvirt-4.0.0.orig/examples/apparmor/usr.sbin.libvirtd
+++ libvirt-4.0.0/examples/apparmor/usr.sbin.libvirtd
@@ -53,9 +53,6 @@
network packet dgram,
network packet raw,
- # for --p2p migrations
- unix (send, receive) type=stream addr=none peer=(label=unconfined addr=none),
-
ptrace (trace) peer=unconfined,
ptrace (trace) peer=/usr/sbin/libvirtd,
ptrace (trace) peer=/usr/sbin/dnsmasq,