1 |
commit: dc4f730ba0ee1cf90413e515fe33151e74df26c9 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Sat Aug 25 18:15:42 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Sat Aug 25 18:15:42 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=dc4f730b |
7 |
|
8 |
Allow init to create /run/nscd |
9 |
|
10 |
The nscd init script creates the (/var/)run/nscd location, so add in the proper |
11 |
assignation here. |
12 |
|
13 |
--- |
14 |
policy/modules/contrib/nscd.te | 1 + |
15 |
1 files changed, 1 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/policy/modules/contrib/nscd.te b/policy/modules/contrib/nscd.te |
18 |
index 7936e09..de5fdc1 100644 |
19 |
--- a/policy/modules/contrib/nscd.te |
20 |
+++ b/policy/modules/contrib/nscd.te |
21 |
@@ -13,6 +13,7 @@ gen_require(` |
22 |
# ordering problem with loadable modules |
23 |
type nscd_var_run_t; |
24 |
files_pid_file(nscd_var_run_t) |
25 |
+init_daemon_run_dir(nscd_var_run_t, "nscd") |
26 |
|
27 |
# nscd is both the client program and the daemon. |
28 |
type nscd_t; |