- add apparmor-profiles-dnsmasq.diff - add missing permissions for

libvirt-generated files to dnsmasq profile (bnc#848215)

OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=59
This commit is contained in:
Christian Boltz 2013-10-30 11:36:14 +00:00 committed by Git OBS Bridge
parent 70d6af76c0
commit d171a3c620
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,16 @@
=== modified file 'profiles/apparmor.d/usr.sbin.dnsmasq'
--- profiles/apparmor.d/usr.sbin.dnsmasq 2013-01-04 17:46:39 +0000
+++ profiles/apparmor.d/usr.sbin.dnsmasq 2013-10-30 11:04:00 +0000
@@ -42,8 +42,10 @@
@{TFTP_DIR}/ r,
@{TFTP_DIR}/** r,
- # libvirt lease and hosts files for dnsmasq
+ # libvirt config, lease and hosts files for dnsmasq
/var/lib/libvirt/dnsmasq/ r,
+ /var/lib/libvirt/dnsmasq/*.addnhosts r,
+ /var/lib/libvirt/dnsmasq/*.conf r,
/var/lib/libvirt/dnsmasq/*.leases rw,
/var/lib/libvirt/dnsmasq/*.hostsfile r,

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 30 11:06:39 UTC 2013 - opensuse@cboltz.de
- add apparmor-profiles-dnsmasq.diff - add missing permissions for
libvirt-generated files to dnsmasq profile (bnc#848215)
-------------------------------------------------------------------
Sun Oct 20 11:59:28 UTC 2013 - opensuse@cboltz.de

View File

@ -115,6 +115,9 @@ Patch11: apparmor-profiles-samba4.diff
# Add support for eDirectory calls in abstractions/nameservice. Not accepted upstream (yet) because of open questions
Patch12: apparmor-2.5.1-edirectory-profile
# dnsmasq - add missing read permisions for libvirt files - bnc#848215 - not submitted upstream yet
Patch13: apparmor-profiles-dnsmasq.diff
# create Immunix::SubDomain perl module - only included for openSUSE <= 12.1 - bnc#720617 #c7
Patch21: apparmor-utils-subdomain-compat
@ -488,6 +491,7 @@ SubDomain.
%patch10
%patch11
%patch12 -p1
%patch13
# only create Immunix::SubDomain perl module for openSUSE <= 12.1
%if 0%{?suse_version}