Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libvirt
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Libvirt Packaging Team
libvirt
Commits
21bc332f
Commit
21bc332f
authored
8 years ago
by
Guido Günther
Browse files
Options
Downloads
Patches
Plain Diff
apprarmor: unbreak lbvirt invoking qemu-bridge-helpers
parent
2a23b239
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian/patches/apparmor-allow-usr-lib-qemu-qemu-bridge-helper.patch
+31
-0
31 additions, 0 deletions
...ches/apparmor-allow-usr-lib-qemu-qemu-bridge-helper.patch
debian/patches/series
+2
-1
2 additions, 1 deletion
debian/patches/series
with
33 additions
and
1 deletion
debian/patches/apparmor-allow-usr-lib-qemu-qemu-bridge-helper.patch
0 → 100644
+
31
−
0
View file @
21bc332f
From: =?utf-8?q?Guido_G=C3=BCnther?= <agx@sigxcpu.org>
Date: Thu, 16 Mar 2017 17:50:33 +0100
Subject: apparmor: allow /usr/lib/qemu/qemu-bridge-helper
This unbreaks e.g. gnome-boxes
---
examples/apparmor/usr.sbin.libvirtd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/apparmor/usr.sbin.libvirtd b/examples/apparmor/usr.sbin.libvirtd
index c40930b..ef241a5 100644
--- a/examples/apparmor/usr.sbin.libvirtd
+++ b/examples/apparmor/usr.sbin.libvirtd
@@ -67,7 +67,7 @@
# allow changing to our UUID-based named profiles
change_profile -> @{LIBVIRT}-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*-[0-9a-f]*,
- /usr/{lib,libexec}/qemu-bridge-helper Cx -> qemu_bridge_helper,
+ /usr/{lib,lib64,lib/qemu,libexec}/qemu-bridge-helper Cx -> qemu_bridge_helper,
# child profile for bridge helper process
profile qemu_bridge_helper {
#include <abstractions/base>
@@ -83,7 +83,7 @@
/etc/qemu/** r,
owner @{PROC}/*/status r,
- /usr/{lib,libexec}/qemu-bridge-helper rmix,
+ /usr/{lib,lib64,lib/qemu,libexec}/qemu-bridge-helper rmix,
}
# Site-specific additions and overrides. See local/README for details.
This diff is collapsed.
Click to expand it.
debian/patches/series
+
2
−
1
View file @
21bc332f
...
...
@@ -20,4 +20,5 @@ test-posix_openpt-don-t-fail-on-EACCESS.patch
Disable-use-of-namespaces-by-default.patch
debian/Debianize-virtlogd.patch
CVE-2017-2635-qemu-Don-t-update-physical-storage-size-of-.patch
qemu-allow-QMP-probing-of-CPU-definitions-to-fail.patch
apparmor-allow-usr-lib-qemu-qemu-bridge-helper.patch
qemu-skip-QMP-probing-of-CPU-definitions-when-missing.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment