File apparmor-2.5.1-ntpd-sys_nice of Package apparmor.import4816

From: Jeff Mahoney <jeffm@suse.com>
Subject: profile: ntpd -N needs sys_nice
References: bnc#657054

 ntpd -N allows the administrator to increase or decrease priority of the
 ntp server. Since the profile doesn't allow it, the operation is denied.

 This patch adds support for that operation.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
 profiles/apparmor.d/usr.sbin.ntpd |    1 +
 1 file changed, 1 insertion(+)

--- a/profiles/apparmor.d/usr.sbin.ntpd
+++ b/profiles/apparmor.d/usr.sbin.ntpd
@@ -25,6 +25,7 @@
   capability sys_chroot,
   capability sys_resource,
   capability sys_time,
+  capability sys_nice,
 
   network inet dgram,
   network inet stream,
openSUSE Build Service is sponsored by