From: dwalsh@redhat.com (Daniel J Walsh)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/1] Mount output should be writeable to puppet_tmp_t
Date: Mon, 26 Sep 2011 09:12:59 -0400 [thread overview]
Message-ID: <4E807A5B.3050602@redhat.com> (raw)
In-Reply-To: <1316877756.9488.19.camel@x220.mydomain.internal>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09/24/2011 11:22 AM, Dominick Grift wrote:
> On Sat, 2011-09-24 at 17:18 +0200, Dominick Grift wrote:
>> On Sat, 2011-09-24 at 15:56 +0200, Sven Vermeulen wrote:
>>> When using puppet to configure systems, the puppet system runs
>>> the mount command and captures its output in a temporary file
>>> in /tmp (which is labeled puppet_tmp_t).
>>
>> I wonder what it is exactly what is causing puppet to run mount.
>>
>> Fedoras' puppet policy does not allow puppet to run mount and
>> domain transition to mount_t.
>>
>> I wonder why Fedoras' puppet seems to not need this access.
>
> I guess it is because puppet_t is a unconfined domain.
>
> Fedora should make these domains unconfined when the release goes
> stable only imho.
>
>>> Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be> ---
>>> policy/modules/system/mount.te | 4 ++++ 1 files changed, 4
>>> insertions(+), 0 deletions(-)
>>>
>>> diff --git a/policy/modules/system/mount.te
>>> b/policy/modules/system/mount.te index 1284081..ca9cdc0 100644
>>> --- a/policy/modules/system/mount.te +++
>>> b/policy/modules/system/mount.te @@ -191,6 +191,10 @@
>>> optional_policy(` ') ')
>>>
>>> +optional_policy(` + puppet_rw_tmp(mount_t) +') + # for kernel
>>> package installation optional_policy(` rpm_rw_pipes(mount_t)
>>
>
>
>
> _______________________________________________ refpolicy mailing
> list refpolicy at oss.tresys.com
> http://oss.tresys.com/mailman/listinfo/refpolicy
We usually go from permissive to unconfined when we try to spin off to
beta. But making puppet confined is probably a waste of time anyways,
since it pretty much needs to be able to do anything.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6AelcACgkQrlYvE4MpobOFxgCgiIRTIsTF1kNkllm2D2/Po99O
LqQAoL3xMud++w5zys4HzoIIk6954pfs
=dJax
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2011-09-26 13:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-24 13:56 [refpolicy] [PATCH 1/1] Mount output should be writeable to puppet_tmp_t Sven Vermeulen
2011-09-24 15:18 ` Dominick Grift
2011-09-24 15:22 ` Dominick Grift
2011-09-26 13:12 ` Daniel J Walsh [this message]
2011-09-26 14:22 ` Sven Vermeulen
2011-09-26 15:01 ` Daniel J Walsh
2011-09-26 15:11 ` Dominick Grift
2011-09-26 15:41 ` Daniel J Walsh
2011-09-26 18:31 ` Christopher J. PeBenito
2011-09-26 19:36 ` Matt Thode
2011-09-27 12:59 ` Daniel J Walsh
2011-09-27 13:17 ` Matt Thode
2011-09-27 13:29 ` Christopher J. PeBenito
2011-09-27 14:58 ` Daniel J Walsh
2011-09-27 15:57 ` Christopher J. PeBenito
2011-09-27 16:37 ` Dominick Grift
2011-09-27 18:06 ` Daniel J Walsh
2011-09-27 16:40 ` Sven Vermeulen
2011-09-27 18:03 ` Daniel J Walsh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E807A5B.3050602@redhat.com \
--to=dwalsh@redhat.com \
--cc=refpolicy@oss.tresys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.