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 0061B1382DF for ; Sun, 3 Jul 2016 11:33:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91922E0854; Sun, 3 Jul 2016 11:33:10 +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 12B67E0854 for ; Sun, 3 Jul 2016 11:33:09 +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 9E7B3340DAD for ; Sun, 3 Jul 2016 11:33:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67A26241D for ; Sun, 3 Jul 2016 11:33:05 +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: <1467545537.82c3d44842260d9dc33d3ef3e813220d798e09a1.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/puppet.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 82c3d44842260d9dc33d3ef3e813220d798e09a1 X-VCS-Branch: master Date: Sun, 3 Jul 2016 11:33:05 +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: 451fa1e2-5124-4840-a307-bbb45aa6d6a7 X-Archives-Hash: 4723478564f85ee9ec1180406ec78e53 commit: 82c3d44842260d9dc33d3ef3e813220d798e09a1 Author: Thomas Mueller chaschperli ch> AuthorDate: Thu Jun 9 11:14:05 2016 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Jul 3 11:32:17 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=82c3d448 Allow puppet_t transtition to shorewall_t If puppet executes /sbin/shorewall it won't transition to shorewall_t and create log files with puppet_log_t context instead of shorewall_log_t. If service is then managed by init (sysv/systemd) it will fail to start. If puppet_t is allowed to transtition to shorewall_t the logfile will get the correct shorewall_log_t type. policy/modules/contrib/puppet.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/contrib/puppet.te b/policy/modules/contrib/puppet.te index 5fd4c8b..adda09f 100644 --- a/policy/modules/contrib/puppet.te +++ b/policy/modules/contrib/puppet.te @@ -200,6 +200,10 @@ optional_policy(` usermanage_domtrans_useradd(puppet_t) ') +optional_policy(` + shorewall_domtrans(puppet_t) +') + ######################################## # # Ca local policy 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 0DD9B1382DE for ; Sun, 3 Jul 2016 11:34:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9D5D141A8; Sun, 3 Jul 2016 11:34:21 +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 35F63141A5 for ; Sun, 3 Jul 2016 11:34:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 366C9340DBB for ; Sun, 3 Jul 2016 11:34:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 11697244E for ; Sun, 3 Jul 2016 11:34:15 +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: <1467545537.82c3d44842260d9dc33d3ef3e813220d798e09a1.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/puppet.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 82c3d44842260d9dc33d3ef3e813220d798e09a1 X-VCS-Branch: swift Date: Sun, 3 Jul 2016 11:34:15 +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: 54d50265-2c3c-460d-a286-36cc4235b119 X-Archives-Hash: 42b7a34640526490510a452ff1e1311a Message-ID: <20160703113415.a9u6xfzx2Q1oa-je2Q-BveslA1SgZyb9kvSvF3fGz98@z> commit: 82c3d44842260d9dc33d3ef3e813220d798e09a1 Author: Thomas Mueller chaschperli ch> AuthorDate: Thu Jun 9 11:14:05 2016 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Sun Jul 3 11:32:17 2016 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=82c3d448 Allow puppet_t transtition to shorewall_t If puppet executes /sbin/shorewall it won't transition to shorewall_t and create log files with puppet_log_t context instead of shorewall_log_t. If service is then managed by init (sysv/systemd) it will fail to start. If puppet_t is allowed to transtition to shorewall_t the logfile will get the correct shorewall_log_t type. policy/modules/contrib/puppet.te | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/policy/modules/contrib/puppet.te b/policy/modules/contrib/puppet.te index 5fd4c8b..adda09f 100644 --- a/policy/modules/contrib/puppet.te +++ b/policy/modules/contrib/puppet.te @@ -200,6 +200,10 @@ optional_policy(` usermanage_domtrans_useradd(puppet_t) ') +optional_policy(` + shorewall_domtrans(puppet_t) +') + ######################################## # # Ca local policy