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 A2FE8138010 for ; Tue, 21 Aug 2012 17:53:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3ADEFE0630; Tue, 21 Aug 2012 17:52:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 03598E062B for ; Tue, 21 Aug 2012 17:52:29 +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 A17AE1B4317 for ; Tue, 21 Aug 2012 17:52:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 991FCE5447 for ; Tue, 21 Aug 2012 17:52:25 +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: <1345141166.33afc3c1bb08e65b6b426d8d1c354a7e65d117b7.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/services/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/services/postgresql.te X-VCS-Directories: policy/modules/services/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 33afc3c1bb08e65b6b426d8d1c354a7e65d117b7 X-VCS-Branch: master Date: Tue, 21 Aug 2012 17:52:25 +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: 96ba5d16-0043-4e08-b665-d17fdcb14b96 X-Archives-Hash: c399fecf6aed3f43822b76bec308b61b commit: 33afc3c1bb08e65b6b426d8d1c354a7e65d117b7 Author: Sven Vermeulen siphos be> AuthorDate: Thu Aug 16 18:19:26 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Thu Aug 16 18:19:26 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=33afc3c1 The postgresql init script handles /run/postgresql Allow the init script domain to create /run/postgresql with the proper file context transition in place. --- policy/modules/services/postgresql.te | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/policy/modules/services/postgresql.te b/policy/modules/services/postgresql.te index 4318f73..b49c929 100644 --- a/policy/modules/services/postgresql.te +++ b/policy/modules/services/postgresql.te @@ -63,6 +63,7 @@ files_tmp_file(postgresql_tmp_t) type postgresql_var_run_t; files_pid_file(postgresql_var_run_t) +init_daemon_run_dir(postgresql_var_run_t, "postgresql") # database clients attribute attribute sepgsql_admin_type;