commit: eb973f14b8e146b7384d55101935473d16707bbc Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> AuthorDate: Fri Aug 1 11:47:35 2014 +0000 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> CommitDate: Fri Aug 1 11:47:35 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=eb973f14
Workaround for bug #514440 - sntp is in bin, not sbin --- policy/modules/contrib/ntp.fc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/contrib/ntp.fc b/policy/modules/contrib/ntp.fc index 89b9cb1..6105583 100644 --- a/policy/modules/contrib/ntp.fc +++ b/policy/modules/contrib/ntp.fc @@ -24,3 +24,7 @@ /var/log/xntpd.* -- gen_context(system_u:object_r:ntpd_log_t,s0) /var/run/ntpd\.pid -- gen_context(system_u:object_r:ntpd_var_run_t,s0) + +ifdef(`distro_gentoo',` +/usr/bin/sntp -- gen_context(system_u:object_r:ntpdate_exec_t,s0) +')
