1 |
commit: 1556eccc1632649ae90397603164803ecc1d2f22 |
2 |
Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
3 |
AuthorDate: Wed Nov 21 21:20:07 2012 +0000 |
4 |
Commit: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> |
5 |
CommitDate: Wed Nov 21 21:20:07 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=1556eccc |
7 |
|
8 |
Again - Gentoo installs dovecot certs in /etc/ssl/dovecot |
9 |
|
10 |
--- |
11 |
policy/modules/contrib/dovecot.fc | 6 ++++-- |
12 |
1 files changed, 4 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/policy/modules/contrib/dovecot.fc b/policy/modules/contrib/dovecot.fc |
15 |
index c880070..f418794 100644 |
16 |
--- a/policy/modules/contrib/dovecot.fc |
17 |
+++ b/policy/modules/contrib/dovecot.fc |
18 |
@@ -13,8 +13,6 @@ |
19 |
/usr/share/ssl/certs/dovecot\.pem -- gen_context(system_u:object_r:dovecot_cert_t,s0) |
20 |
/usr/share/ssl/private/dovecot\.pem -- gen_context(system_u:object_r:dovecot_cert_t,s0) |
21 |
|
22 |
-/etc/ssl/dovecot(/.*)? gen_context(system_u:object_r:dovecot_cert_t,s0) |
23 |
- |
24 |
/usr/lib/dovecot/auth -- gen_context(system_u:object_r:dovecot_auth_exec_t,s0) |
25 |
/usr/lib/dovecot/deliver -- gen_context(system_u:object_r:dovecot_deliver_exec_t,s0) |
26 |
/usr/lib/dovecot/dovecot-auth -- gen_context(system_u:object_r:dovecot_auth_exec_t,s0) |
27 |
@@ -34,3 +32,7 @@ |
28 |
/var/log/dovecot\.log.* gen_context(system_u:object_r:dovecot_var_log_t,s0) |
29 |
|
30 |
/var/spool/dovecot(/.*)? gen_context(system_u:object_r:dovecot_spool_t,s0) |
31 |
+ |
32 |
+ifdef(`distro_gentoo',` |
33 |
+/etc/ssl/dovecot(/.*)? gen_context(system_u:object_r:dovecot_cert_t,s0) |
34 |
+') |