Gentoo Archives: gentoo-commits

From: Sven Vermeulen <sven.vermeulen@××××××.be>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/
Date: Thu, 29 Nov 2012 18:58:31
Message-Id: 1354215398.fa3bbaa7612e2d6ae5542b080982d4210279b6ef.SwifT@gentoo
1 commit: fa3bbaa7612e2d6ae5542b080982d4210279b6ef
2 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
3 AuthorDate: Thu Nov 29 18:56:38 2012 +0000
4 Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be>
5 CommitDate: Thu Nov 29 18:56:38 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=fa3bbaa7
7
8 Named init script creates rundir
9
10 Add in the proper init_daemon_run_dir call as the named init script creates the
11 /run/named location.
12
13 See also bug #445196
14
15 ---
16 policy/modules/contrib/bind.te | 4 ++++
17 1 files changed, 4 insertions(+), 0 deletions(-)
18
19 diff --git a/policy/modules/contrib/bind.te b/policy/modules/contrib/bind.te
20 index 4d7ccc3..73bbabf 100644
21 --- a/policy/modules/contrib/bind.te
22 +++ b/policy/modules/contrib/bind.te
23 @@ -62,6 +62,10 @@ type ndc_exec_t;
24 init_system_domain(ndc_t, ndc_exec_t)
25 role ndc_roles types ndc_t;
26
27 +ifdef(`distro_gentoo',`
28 + init_daemon_run_dir(named_var_run_t, "named")
29 +')
30 +
31 ########################################
32 #
33 # Local policy