Skip to content

Commit

Permalink
app-emulation/libvirt: fix typo in apparmor rule
Browse files Browse the repository at this point in the history
Thanks to holgersson for pointing this out.

Package-Manager: Portage-2.3.41, Repoman-2.3.9
  • Loading branch information
tamiko committed Jul 3, 2018
1 parent 5a09a48 commit f759fae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/examples/apparmor/usr.libexec.virt-aa-helper b/examples/apparmor/usr.libexec.virt-aa-helper
index d21723f..99ab4ea 100644
--- a/examples/apparmor/usr.libexec.virt-aa-helper
+++ b/examples/apparmor/usr.libexec.virt-aa-helper
@@ -50,7 +50,7 @@ profile virt-aa-helper /usr/libexec/virt-aa-helper {
@{HOME}/** r,
/var/lib/libvirt/images/ r,
/var/lib/libvirt/images/** r,
- /var/lib/nova/instances/_base/* r
+ /var/lib/nova/instances/_base/* r,
/{media,mnt,opt,srv}/** r,
# For virt-sandbox
/{,var/}run/libvirt/**/[sv]d[a-z] r,
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-4.5.0-do_not_use_sysconf.patch
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
"${FILESDIR}"/${PN}-3.10.0-r2-fix_paths_for_apparmor.patch
"${FILESDIR}"/${PN}-4.5.0-fix_typo_in_apparmor_rule.patch
)

pkg_setup() {
Expand Down

0 comments on commit f759fae

Please sign in to comment.