From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 65309138330 for ; Wed, 31 Aug 2016 16:38:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94CC0E0B39; Wed, 31 Aug 2016 16:38:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 249CDE0B36 for ; Wed, 31 Aug 2016 16:38:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43F2C3406F2 for ; Wed, 31 Aug 2016 16:38:46 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D94122467 for ; Wed, 31 Aug 2016 16:38:44 +0000 (UTC) From: "Jason Zaman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason Zaman" Message-ID: <1471453506.832dbf1a63d2a601396a302297e497109561ca8d.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/ntp.fc X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 832dbf1a63d2a601396a302297e497109561ca8d X-VCS-Branch: master Date: Wed, 31 Aug 2016 16:38:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5d49ee7c-06c1-4b7d-98b4-9dab34bc8c9e X-Archives-Hash: c7998ebc2857d76dc809000b47307f60 commit: 832dbf1a63d2a601396a302297e497109561ca8d Author: Jason Zaman perfinion com> AuthorDate: Wed Aug 17 17:05:06 2016 +0000 Commit: Jason Zaman gentoo org> CommitDate: Wed Aug 17 17:05:06 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=832dbf1a ntp: fcontext for ntpctl ntpctl is hardlinked to ntpd and causes a labelling conflict randomly. Set the fcontext on both to be the same so there are no issues. policy/modules/contrib/ntp.fc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/policy/modules/contrib/ntp.fc b/policy/modules/contrib/ntp.fc index 01ae073..96f03d8 100644 --- a/policy/modules/contrib/ntp.fc +++ b/policy/modules/contrib/ntp.fc @@ -33,4 +33,7 @@ ifdef(`distro_gentoo',` /usr/bin/sntp -- gen_context(system_u:object_r:ntpdate_exec_t,s0) /var/lib/openntpd/ntpd.drift -- gen_context(system_u:object_r:ntp_drift_t,s0) + +# hardlinked to ntpd +/usr/sbin/ntpctl -- gen_context(system_u:object_r:ntpd_exec_t,s0) ')