[apparmor] [patch] ntpd profile - allow another pid location

Christian Boltz apparmor at cboltz.de
Sat Oct 4 11:41:53 UTC 2014


Hello,

ntpd on openSUSE Factory needs another location for the pid file.

References: https://bugzilla.novell.com/show_bug.cgi?id=899746

I propose this patch for trunk and the 2.8 tree.


=== 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-04 11:35:43 +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,
 


Regards,

Christian Boltz
-- 
<loop="sendungmitdermaus.mp3" mode=infinity>
Das ist der Udo. Der Udo sucht ein Upsilon, und zwar kostenlos.  Er
sagt zwar nicht, was ein Upsilon ist, aber das macht ja nichts. Wir
kennen da nämlich eine Suchmaschine, die heißt Google. Google sucht
Sachen. [...]                     [Antje M. Bendrich in suse-linux]




More information about the AppArmor mailing list