mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
apparmor: Only support passt on 3.x
The subprofile can only work by including the abstraction shipped in the passt package, which we can't assume is present, and 'include if exists' doesn't work well on 2.x. No distro that's stuck on AppArmor 2.x is likely to be shipping passt anyway. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Jim Fehlig <jfehlig@suse.com>
This commit is contained in:
parent
63a312fa2d
commit
84e01d182e
@ -185,6 +185,7 @@
|
||||
/usr/{lib,lib64}/libswtpm_libtpms.so mr,
|
||||
/usr/lib/@{multiarch}/libswtpm_libtpms.so mr,
|
||||
|
||||
@BEGIN_APPARMOR_3@
|
||||
# support for passt network back-end
|
||||
/usr/bin/passt Cx -> passt,
|
||||
|
||||
@ -199,6 +200,7 @@
|
||||
|
||||
include if exists <abstractions/passt>
|
||||
}
|
||||
@END_APPARMOR_3@
|
||||
|
||||
# for save and resume
|
||||
/{usr/,}bin/dash rmix,
|
||||
|
Loading…
Reference in New Issue
Block a user