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 42CCA138CD3 for ; Tue, 9 Jun 2015 14:04:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8477E0877; Tue, 9 Jun 2015 14:04:10 +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 A5BC1E0877 for ; Tue, 9 Jun 2015 14:04:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2684340884 for ; Tue, 9 Jun 2015 14:04:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31EE1A09 for ; Tue, 9 Jun 2015 14:04:06 +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: <1433858634.0f123fb70ecdda06fdd36db9471b2f3fb9f0d2e6.swift@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/logrotate.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 0f123fb70ecdda06fdd36db9471b2f3fb9f0d2e6 X-VCS-Branch: master Date: Tue, 9 Jun 2015 14:04:06 +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: 6a1418c2-3f70-4d0a-8d63-fe4d9dbdebcf X-Archives-Hash: 4462c42660dfa76d1581d8ecbdaccad0 Message-ID: <20150609140406.CqghWAyqG7XbgE1jSYB7m5LcAdiXc-hXIL1brX2G0ZA@z> commit: 0f123fb70ecdda06fdd36db9471b2f3fb9f0d2e6 Author: Sven Vermeulen siphos be> AuthorDate: Tue Jun 9 14:03:54 2015 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Tue Jun 9 14:03:54 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0f123fb7 Allow logrotate to call fail2ban-client (as installed by fail2ban package) policy/modules/contrib/logrotate.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/policy/modules/contrib/logrotate.te b/policy/modules/contrib/logrotate.te index 62b05af..7b302cc 100644 --- a/policy/modules/contrib/logrotate.te +++ b/policy/modules/contrib/logrotate.te @@ -251,3 +251,8 @@ allow logrotate_mail_t logrotate_t:process sigchld; manage_files_pattern(logrotate_mail_t, logrotate_tmp_t, logrotate_tmp_t) logging_read_all_logs(logrotate_mail_t) + +ifdef(`distro_gentoo',` + # Fix bug 534256 - fail2ban installs a logrotate file that calls fail2ban-client so allow transition + fail2ban_domtrans_client(logrotate_t) +')