| Summary: | [SELINUX] stunnel does not trainsition from initrc_t/unconfined_t to stunnel_t | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Robert Jaroszuk <zim> |
| Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.5 | CC: | dwalsh |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-10 14:52:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Robert Jaroszuk
2011-02-09 17:03:07 UTC
Rhel5 has the following ifdef(`distro_gentoo',` init_daemon_domain(stunnel_t,stunnel_exec_t) ',` inetd_tcp_service_domain(stunnel_t,stunnel_exec_t) ') Meaning in Red Hat we expect you to run stunnel as a xinetd daemon. policy_module(mystunnel, 1.0)
gen_requires(`
type stunnel_t;
type stunnel_exec_t;
type initrc_t;
typeattribute daemon;
')
typeattribute stunnel_t daemon;
domain_type(stunnel_t)
domain_entry_file(stunnel_t,stunnel_exec_t)
role system_r types stunnel_t;
init_dontaudit_use_fds(stunnel_t)
term_dontaudit_use_console(stunnel_t)
init_use_script_ptys(stunnel_t)
domain_auto_trans(initrc_t,stunnel_exec_t,stunnel_t)
allow initrc_t stunnel_t:fd use;
allow stunnel_t initrc_t:fd use;
allow stunnel_t initrc_t:fifo_file rw_file_perms;
allow stunnel_t initrc_t:process sigchld;
allow initrc_t stunnel_t:process { siginh };
dontaudit initrc_t stunnel_t:process { noatsecure rlimitinh };
|