From cb67bae6b28ccbeecad5f728b44a72f9b912a421 Mon Sep 17 00:00:00 2001 From: Christian Boltz Date: Tue, 15 Nov 2016 00:41:53 +0100 Subject: [PATCH] Allow "network unspec dgram," in ntpd profile A while ago, support for "network unspec" was added. However, nobody updated the ntpd profile (at least not the profile in upstream bzr) which was the main reason for adding "unspec". References: https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1546455 (the original bugreport about "unspec") References: https://bugzilla.opensuse.org/show_bug.cgi?id=1009964 (about the ntpd profile) Acked-by: Steve Beattie for trunk, 2.10 and 2.9 --- profiles/apparmor.d/usr.sbin.ntpd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/apparmor.d/usr.sbin.ntpd b/profiles/apparmor.d/usr.sbin.ntpd index dab6fa8f5..a7270ea9a 100644 --- a/profiles/apparmor.d/usr.sbin.ntpd +++ b/profiles/apparmor.d/usr.sbin.ntpd @@ -27,6 +27,8 @@ capability sys_time, capability sys_nice, + network unspec dgram, + /drift/ntp.drift rwl, /drift/ntp.drift.TEMP rwl, /etc/ntp.conf r,