diff options
author | Matthias Maier <tamiko@gentoo.org> | 2015-08-13 22:48:09 -0500 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2015-08-13 22:48:09 -0500 |
commit | fc3adeb678e02011af18951e3868f21ac0141532 (patch) | |
tree | 20afb0f688be7d0be775ed26ff9b8bf95ba3f1ab /app-emulation/libvirt | |
parent | sys-boot/vboot-utils: handle USE=static & static-libs interaction #553994 (diff) | |
download | gentoo-fc3adeb678e02011af18951e3868f21ac0141532.tar.gz gentoo-fc3adeb678e02011af18951e3868f21ac0141532.tar.bz2 gentoo-fc3adeb678e02011af18951e3868f21ac0141532.zip |
app-emulation/libvirt: fix apparmor conf in 1.2.17 and 1.2.18 (bug #554628)
The libvirtd daemon also needs acces to virt-aa-helper and libvirtb_lxc
helper residing under /usr/libexec. This is now fixed.
Thanks to aporilel.
Gentoo-Bug: 554628
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'app-emulation/libvirt')
-rw-r--r-- | app-emulation/libvirt/files/libvirt-1.2.17-fix_paths_for_apparmor.patch | 4 | ||||
-rw-r--r-- | app-emulation/libvirt/libvirt-1.2.17-r5.ebuild (renamed from app-emulation/libvirt/libvirt-1.2.17-r4.ebuild) | 0 | ||||
-rw-r--r-- | app-emulation/libvirt/libvirt-1.2.18-r1.ebuild (renamed from app-emulation/libvirt/libvirt-1.2.18.ebuild) | 0 |
3 files changed, 3 insertions, 1 deletions
diff --git a/app-emulation/libvirt/files/libvirt-1.2.17-fix_paths_for_apparmor.patch b/app-emulation/libvirt/files/libvirt-1.2.17-fix_paths_for_apparmor.patch index c900ada85f95..8e19c0fd77b1 100644 --- a/app-emulation/libvirt/files/libvirt-1.2.17-fix_paths_for_apparmor.patch +++ b/app-emulation/libvirt/files/libvirt-1.2.17-fix_paths_for_apparmor.patch @@ -145,12 +145,14 @@ diff --git a/examples/apparmor/usr.sbin.libvirtd b/examples/apparmor/usr.sbin.li index 5d606e6..ab2f1a9 100644 --- a/examples/apparmor/usr.sbin.libvirtd +++ b/examples/apparmor/usr.sbin.libvirtd -@@ -58,8 +58,8 @@ +@@ -58,8 +58,10 @@ audit deny /sys/kernel/security/apparmor/.* rwxl, /sys/kernel/security/apparmor/profiles r, /usr/{lib,lib64}/libvirt/* PUxr, - /usr/{lib,lib64}/libvirt/libvirt_parthelper ix, - /usr/{lib,lib64}/libvirt/libvirt_iohelper ix, ++ /usr/libexec/virt-aa-helper PUxr, ++ /usr/libexec/libvirt_lxc PUxr, + /usr/libexec/libvirt_parthelper ix, + /usr/libexec/libvirt_iohelper ix, /etc/libvirt/hooks/** rmix, diff --git a/app-emulation/libvirt/libvirt-1.2.17-r4.ebuild b/app-emulation/libvirt/libvirt-1.2.17-r5.ebuild index 783647ae937a..783647ae937a 100644 --- a/app-emulation/libvirt/libvirt-1.2.17-r4.ebuild +++ b/app-emulation/libvirt/libvirt-1.2.17-r5.ebuild diff --git a/app-emulation/libvirt/libvirt-1.2.18.ebuild b/app-emulation/libvirt/libvirt-1.2.18-r1.ebuild index 9fcab0928995..9fcab0928995 100644 --- a/app-emulation/libvirt/libvirt-1.2.18.ebuild +++ b/app-emulation/libvirt/libvirt-1.2.18-r1.ebuild |