2011-03-09 21:27:52

by sven.vermeulen

[permalink] [raw]
Subject: [refpolicy] [PATCH 15/15] Cyrus sasl /var/lib/sasl2 location support

Cyrus sasl by default looks in /var/lib/sasl2 for its PID file, socket
creation and lock files.

Signed-off-by: Sven Vermeulen <[email protected]>
---
policy/modules/services/sasl.fc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/policy/modules/services/sasl.fc b/policy/modules/services/sasl.fc
index ff0ce69..7e58679 100644
--- a/policy/modules/services/sasl.fc
+++ b/policy/modules/services/sasl.fc
@@ -8,4 +8,5 @@
#
# /var
#
+/var/lib/sasl2(/.*)? gen_context(system_u:object_r:saslauthd_var_run_t,s0)
/var/run/saslauthd(/.*)? gen_context(system_u:object_r:saslauthd_var_run_t,s0)
--
1.7.3.4


2011-03-22 13:08:39

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH 15/15] Cyrus sasl /var/lib/sasl2 location support

On 03/09/11 16:27, Sven Vermeulen wrote:
> Cyrus sasl by default looks in /var/lib/sasl2 for its PID file, socket
> creation and lock files.
>
> Signed-off-by: Sven Vermeulen <[email protected]>
> ---
> policy/modules/services/sasl.fc | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/policy/modules/services/sasl.fc b/policy/modules/services/sasl.fc
> index ff0ce69..7e58679 100644
> --- a/policy/modules/services/sasl.fc
> +++ b/policy/modules/services/sasl.fc
> @@ -8,4 +8,5 @@
> #
> # /var
> #
> +/var/lib/sasl2(/.*)? gen_context(system_u:object_r:saslauthd_var_run_t,s0)
> /var/run/saslauthd(/.*)? gen_context(system_u:object_r:saslauthd_var_run_t,s0)

Merged.

--
Chris PeBenito
Tresys Technology, LLC
http://www.tresys.com | oss.tresys.com