diff --git a/apparmor-profiles-ntpd-pid-location.diff b/apparmor-profiles-ntpd-pid-location.diff new file mode 100644 index 0000000..d12640a --- /dev/null +++ b/apparmor-profiles-ntpd-pid-location.diff @@ -0,0 +1,12 @@ +=== modified file 'profiles/apparmor.d/usr.sbin.ntpd' +--- profiles/apparmor.d/usr.sbin.ntpd 2013-11-14 20:48:51 +0000 ++++ profiles/apparmor.d/usr.sbin.ntpd 2014-10-06 17:57:46 +0000 +@@ -55,6 +55,7 @@ + /var/opt/novell/xad/rpc/xadsd rw, + /{,var/}run/nscd/services r, + /{,var/}run/ntpd.pid w, ++ /{,var/}run/ntp/ntpd.pid w, + /var/tmp/ntp* rwl, + @{PROC}/@{pid}/net/if_inet6 r, + + diff --git a/apparmor.changes b/apparmor.changes index ced49d9..80a6d97 100644 --- a/apparmor.changes +++ b/apparmor.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Oct 6 18:07:50 UTC 2014 - opensuse@cboltz.de + +- add apparmor-profiles-ntpd-pid-location.diff to cover new ntpd pid + location (bnc#899746) + ------------------------------------------------------------------- Sun Oct 5 18:53:43 UTC 2014 - opensuse@cboltz.de diff --git a/apparmor.spec b/apparmor.spec index f58d3ae..5318d08 100644 --- a/apparmor.spec +++ b/apparmor.spec @@ -88,6 +88,9 @@ Patch4: apparmor-2.5.1-edirectory-profile # Ruby 2.0 mkmf prefixes everything with $(DESTDIR), bnc#822277, kkaempf@suse.de Patch5: ruby-2_0-mkmf-destdir.patch +# Allow new pid location in ntpd profile (bnc#899746 - commited upstream trunk r2723, 2.8 branch r2145) +Patch6: apparmor-profiles-ntpd-pid-location.diff + Url: https://launchpad.net/apparmor PreReq: sed BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -427,6 +430,8 @@ SubDomain. %patch5 -p1 %endif +%patch6 + %build echo _libdir: %{_libdir} ruby: %{rb_sitearch} python: %{python3_sitearch} # test if _libdir breaks it or if it's broken by default on <= 12.1