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 CE05B1384B4 for ; Wed, 2 Dec 2015 15:45:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08CFB21C09F; Wed, 2 Dec 2015 15:45:34 +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 5043621C0A1 for ; Wed, 2 Dec 2015 15:45:28 +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 738EF33BE05 for ; Wed, 2 Dec 2015 15:45:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8692F2B for ; Wed, 2 Dec 2015 15:45:23 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1445833645.a51ba0a947d3824df1342367d7fd6fd955e6410b.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift 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: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: a51ba0a947d3824df1342367d7fd6fd955e6410b X-VCS-Branch: swift Date: Wed, 2 Dec 2015 15:45:23 +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: 73d4f155-b400-4fdb-a73f-40efa7bb96fe X-Archives-Hash: b9511224201142c7a3a2a92715be953d commit: a51ba0a947d3824df1342367d7fd6fd955e6410b Author: Jason Zaman perfinion com> AuthorDate: Mon Oct 26 04:27:25 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Mon Oct 26 04:27:25 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=a51ba0a9 system/logging: Remove duplicate filetrans on cron.log policy/modules/system/logging.te:534:ERROR 'duplicate filename transition for: filename_trans cron.log syslogd_t var_log_t:file' at type_transition syslogd_t var_log_t:file cron_log_t "cron.log"; The cron 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 902ff63..d0c4d31 100644 --- a/policy/modules/system/logging.te +++ b/policy/modules/system/logging.te @@ -533,7 +533,9 @@ optional_policy(` optional_policy(` cron_manage_log_files(syslogd_t) + ifndef(`distro_gentoo',` cron_generic_log_filetrans_log(syslogd_t, file, "cron.log") + ') ') optional_policy(`