apparmor/apparmor-2.8.2-fix-ntpd-profile.diff

28 lines
770 B
Diff
Raw Normal View History

Patch-Author: Stefan Seyfried <seife+obs@b1-systems.com>
After this change in ntp:
* Mo Aug 19 2013 crrodriguez@opensuse.org
- Build with -DOPENSSL_LOAD_CONF , ntp must respect and use
the system's openssl configuration.
we need to read openssl.cnf or starting of ntpd will fail silently(!)
Index: b/profiles/apparmor.d/usr.sbin.ntpd
===================================================================
--- a/profiles/apparmor.d/usr.sbin.ntpd
+++ b/profiles/apparmor.d/usr.sbin.ntpd
@@ -38,10 +38,12 @@
/etc/ntp/step-tickers r,
/etc/ntpd.conf r,
/etc/ntpd.conf.tmp r,
/etc/gai.conf r,
+ /etc/ssl/openssl.cnf r,
+
/tmp/ntp* rwl,
/usr/sbin/ntpd rmix,
/var/lib/ntp/drift rwl,
/var/lib/ntp/drift.TEMP rwl,
/var/lib/ntp/drift/ntp.drift rw,