public inbox for gentoo-hardened@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-hardened] selinux puppet update for 2.6.8
@ 2011-07-10 21:49 Matthew Thode
  2011-07-11 12:17 ` Sven Vermeulen
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Thode @ 2011-07-10 21:49 UTC (permalink / raw
  To: gentoo-hardened@lists.gentoo.org

[-- Attachment #1: Type: text/plain, Size: 941 bytes --]

First, puppet and puppetmaster are both in /usr/bin not /usr/sbin anymore

And here is what I needed to add to the policy.

module puppetlocal 1.0;

require {
        type sendmail_exec_t;
        type puppet_t;
        type proc_net_t;
        type mount_exec_t;
        type portage_exec_t;
        type passwd_exec_t;
        type initrc_notrans_exec_t;
        class capability dac_read_search;
        class dir search;
        class file { execute read open getattr execute_no_trans };
}

#============= puppet_t ==============
allow puppet_t initrc_notrans_exec_t:file execute;
allow puppet_t mount_exec_t:file { execute execute_no_trans };
allow puppet_t passwd_exec_t:file execute;
allow puppet_t portage_exec_t:file execute;
allow puppet_t proc_net_t:dir search;
allow puppet_t proc_net_t:file { read getattr open };
allow puppet_t self:capability dac_read_search;
allow puppet_t sendmail_exec_t:file execute;


-- Matthew Thode



[-- Attachment #2: Type: text/html, Size: 2446 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-11 14:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-10 21:49 [gentoo-hardened] selinux puppet update for 2.6.8 Matthew Thode
2011-07-11 12:17 ` Sven Vermeulen
2011-07-11 13:25   ` Matthew Thode

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox