2011-08-24 19:57:39

by sven.vermeulen

[permalink] [raw]
Subject: [refpolicy] [PATCH v2 1/1] Allow puppet to mount partitions

Puppet is a management utility to manage several dozens or even hundreds of
systems through a single application. Part of its job is to ensure that the
configuration and state of a system is as expected. Part of this is to ensure
that the proper mounts are available and, if not, mount them (or umount them).

This patch allows puppet_t to call mount.

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

diff --git a/policy/modules/services/puppet.te b/policy/modules/services/puppet.te
index c11bf51..4d3f9e3 100644
--- a/policy/modules/services/puppet.te
+++ b/policy/modules/services/puppet.te
@@ -125,6 +125,8 @@ logging_send_syslog_msg(puppet_t)
miscfiles_read_hwdata(puppet_t)
miscfiles_read_localization(puppet_t)

+mount_domtrans(puppet_t)
+
seutil_domtrans_setfiles(puppet_t)
seutil_domtrans_semanage(puppet_t)

--
1.7.3.4


2011-08-25 11:58:57

by cpebenito

[permalink] [raw]
Subject: [refpolicy] [PATCH v2 1/1] Allow puppet to mount partitions

On 08/24/11 15:57, Sven Vermeulen wrote:
> Puppet is a management utility to manage several dozens or even hundreds of
> systems through a single application. Part of its job is to ensure that the
> configuration and state of a system is as expected. Part of this is to ensure
> that the proper mounts are available and, if not, mount them (or umount them).
>
> This patch allows puppet_t to call mount.

Merged.

> Signed-off-by: Sven Vermeulen <[email protected]>
> ---
> policy/modules/services/puppet.te | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/policy/modules/services/puppet.te b/policy/modules/services/puppet.te
> index c11bf51..4d3f9e3 100644
> --- a/policy/modules/services/puppet.te
> +++ b/policy/modules/services/puppet.te
> @@ -125,6 +125,8 @@ logging_send_syslog_msg(puppet_t)
> miscfiles_read_hwdata(puppet_t)
> miscfiles_read_localization(puppet_t)
>
> +mount_domtrans(puppet_t)
> +
> seutil_domtrans_setfiles(puppet_t)
> seutil_domtrans_semanage(puppet_t)
>


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