Hello,

ntpd needs access to /var/lib/ntp/drift/driftfile and  
/var/lib/ntp/drift/driftfile.TEMP

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

I propose this patch for 2.8 and trunk.

=== modified file 'profiles/apparmor.d/usr.sbin.ntpd'
--- profiles/apparmor.d/usr.sbin.ntpd   2013-10-03 13:35:56 +0000
+++ profiles/apparmor.d/usr.sbin.ntpd   2013-11-14 20:36:47 +0000
@@ -40,6 +40,8 @@
   /usr/sbin/ntpd rmix,
   /var/lib/ntp/drift rwl,
   /var/lib/ntp/drift.TEMP rwl,
+  /var/lib/ntp/drift/driftfile rw,
+  /var/lib/ntp/drift/driftfile.TEMP rw,
   /var/lib/ntp/drift/ntp.drift rw,
   /var/lib/ntp/drift/ntp.drift.TEMP rw,
   /var/lib/ntp/etc/* r,



Regards,

Christian Boltz
-- 
> Subscribers don't receive messages from authors,
> they receive messages from listservs.
I've never seen a list server write a message :-)
[Felix Miata and jdd in opensuse-factory]


-- 
AppArmor mailing list
AppArmor@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to