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 6291E1381F3 for ; Thu, 29 Nov 2012 18:58:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0E3A621C022; Thu, 29 Nov 2012 18:58:23 +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 8B75D21C022 for ; Thu, 29 Nov 2012 18:58:23 +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 9527433D8E9 for ; Thu, 29 Nov 2012 18:58:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 10900E5436 for ; Thu, 29 Nov 2012 18:58:21 +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: <1354215398.fa3bbaa7612e2d6ae5542b080982d4210279b6ef.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/bind.te X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: fa3bbaa7612e2d6ae5542b080982d4210279b6ef X-VCS-Branch: master Date: Thu, 29 Nov 2012 18:58:21 +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: 4b400647-b989-4bd7-8a39-38587472b167 X-Archives-Hash: 325e5ce1f4750720b5c94e230b705153 commit: fa3bbaa7612e2d6ae5542b080982d4210279b6ef Author: Sven Vermeulen siphos be> AuthorDate: Thu Nov 29 18:56:38 2012 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Thu Nov 29 18:56:38 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=fa3bbaa7 Named init script creates rundir Add in the proper init_daemon_run_dir call as the named init script creates the /run/named location. See also bug #445196 --- policy/modules/contrib/bind.te | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/policy/modules/contrib/bind.te b/policy/modules/contrib/bind.te index 4d7ccc3..73bbabf 100644 --- a/policy/modules/contrib/bind.te +++ b/policy/modules/contrib/bind.te @@ -62,6 +62,10 @@ type ndc_exec_t; init_system_domain(ndc_t, ndc_exec_t) role ndc_roles types ndc_t; +ifdef(`distro_gentoo',` + init_daemon_run_dir(named_var_run_t, "named") +') + ######################################## # # Local policy