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 E28961381F3 for ; Wed, 25 Sep 2013 09:49:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67DEAE0D5D; Wed, 25 Sep 2013 09:49:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DDF49E0D5B for ; Wed, 25 Sep 2013 09:49:39 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D338833DA43 for ; Wed, 25 Sep 2013 09:49:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 9314EE5463 for ; Wed, 25 Sep 2013 09:49:36 +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: <1380102145.e69756835f938299389a3f86132bbc76918a444a.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: e69756835f938299389a3f86132bbc76918a444a X-VCS-Branch: master Date: Wed, 25 Sep 2013 09:49: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: fd4d8b3c-8422-4eda-b911-bdc74cc404b4 X-Archives-Hash: 6012262c3d423a402ed3e01bacc80319 commit: e69756835f938299389a3f86132bbc76918a444a Author: Dominick Grift gmail com> AuthorDate: Mon Sep 23 10:11:43 2013 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Wed Sep 25 09:42:25 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=e6975683 logrotate restarts syslogd via init script in Debian Probably want logrotate to be able to run any labeled init script in the initrc_t domain rather than only generic init scripts since it is pretty common for logrotate to restart a service after its log file is rotated Signed-off-by: Dominick Grift gmail.com> --- policy/modules/contrib/logrotate.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/contrib/logrotate.te b/policy/modules/contrib/logrotate.te index 739fb6d..be0ab84 100644 --- a/policy/modules/contrib/logrotate.te +++ b/policy/modules/contrib/logrotate.te @@ -98,7 +98,7 @@ selinux_get_enforce_mode(logrotate_t) auth_manage_login_records(logrotate_t) auth_use_nsswitch(logrotate_t) -init_domtrans_script(logrotate_t) +init_all_labeled_script_domtrans(logrotate_t) logging_manage_all_logs(logrotate_t) logging_send_syslog_msg(logrotate_t)