From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1026813888F for ; Mon, 26 Oct 2015 05:36:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0946A21C003; Mon, 26 Oct 2015 05:36:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB9CB21C001 for ; Mon, 26 Oct 2015 05:36:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2261E3408FF for ; Mon, 26 Oct 2015 05:36:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E6E11940 for ; Mon, 26 Oct 2015 05:36:36 +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: <1445835575.2b1fd1cb76055efbf37feb023a65831b79932f2b.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: policy/modules/system/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/system/logging.te X-VCS-Directories: policy/modules/system/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 2b1fd1cb76055efbf37feb023a65831b79932f2b X-VCS-Branch: next Date: Mon, 26 Oct 2015 05:36:36 +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: 64dd36e4-22ba-4cd1-9860-5ca4ad754a17 X-Archives-Hash: 8eb4a18b128885ed4e02268e17b5a380 Message-ID: <20151026053636.KzrS0wF7YIzAXRWzSLblTwKn4asE7vaWyXX4II9fmYI@z> commit: 2b1fd1cb76055efbf37feb023a65831b79932f2b Author: Jason Zaman perfinion com> AuthorDate: Mon Oct 26 04:59:35 2015 +0000 Commit: Jason Zaman gentoo org> CommitDate: Mon Oct 26 04:59:35 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=2b1fd1cb system/logging: Remove duplicate filetrans on news logs policy/modules/system/logging.te:541:ERROR 'duplicate filename transition for: filename_trans news.crit syslogd_t var_log_t:file' type_transition syslogd_t var_log_t:file innd_log_t "news.crit"; The news type is gentoo only so make the logging one ifndef policy/modules/system/logging.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/policy/modules/system/logging.te b/policy/modules/system/logging.te index d0c4d31..52c86e5 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te @@ -540,9 +540,11 @@ optional_policy(` optional_policy(` inn_manage_log(syslogd_t) + ifndef(`distro_gentoo',` inn_generic_log_filetrans_innd_log(syslogd_t, file, "news.crit") inn_generic_log_filetrans_innd_log(syslogd_t, file, "news.err") inn_generic_log_filetrans_innd_log(syslogd_t, file, "news.notice") + ') ') optional_policy(`