Accepting request 266140 from home:cbosdonnat:branches:security:apparmor

- Fix dnsmasq profile to allow executing bash to run the --dhcp-script
  argument. Also fixed /usr/lib -> /usr/{lib,lib64} to get libvirt
  leasehealper script to run even on x86_64.
  dnsmasq-profile-fixes.patch. boo#911001

OBS-URL: https://build.opensuse.org/request/show/266140
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=114
This commit is contained in:
2014-12-22 12:55:06 +00:00
committed by Git OBS Bridge
parent 2520f26685
commit 7a29d85d80
3 changed files with 34 additions and 0 deletions

View File

@@ -95,6 +95,9 @@ Patch6: apparmor-abstractions-no-multiline.diff
# bug 906858 - confine lessopen.sh (submitted upstream 2014-12-21)
Patch7: apparmor-lessopen-profile.patch
# boo#911001 - Allow executing --dhcp-client script
Patch8: dnsmasq-profile-fixes.patch
Url: https://launchpad.net/apparmor
PreReq: sed
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -434,6 +437,7 @@ SubDomain.
%patch6
%patch7 -p1
%patch8 -p1
# search for left-over multiline rules
test -z "$(grep -r '^\s*\(unix\|dbus\)[^,]\(([^)]*)\)*[^,]*$' profiles/apparmor.d/)"