[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-211) SE Linux in RHEL 6 does not support mod_cluster in the context of HTTPD

Radoslav Husar (JIRA) issues at jboss.org
Mon Jun 23 14:24:24 EDT 2014


    [ https://issues.jboss.org/browse/MODCLUSTER-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978701#comment-12978701 ] 

Radoslav Husar commented on MODCLUSTER-211:
-------------------------------------------

Thanks, that's what I was looking for. Can you also confirm that this is also not a problem for mod_cluster master (or 1.3.0.Final) on httpd 2.4 on Fedora 20/RHEL7?

> SE Linux in RHEL 6 does not support mod_cluster in the context of HTTPD
> -----------------------------------------------------------------------
>
>                 Key: MODCLUSTER-211
>                 URL: https://issues.jboss.org/browse/MODCLUSTER-211
>             Project: mod_cluster
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.0.4.GA
>         Environment: Apache 2.2.15 in RHEL 6 with mod_cluster in EAP
>            Reporter: Jim Tyrrell
>            Assignee: Michal Babacek
>             Fix For: 1.2.6.Final
>
>
> When trying to run mod_cluster module inside of Apache I need to create a custom SE Linux policy.  This should not need to be done as RHEL should ship the correctly enabled SE Linux policy, although in talking with my resident RHEL expert, the error messaging is that mod_cluster is using write instead of append as the existing policy does.  I will cross post this in BZ for the SE Linux team, as I am not sure where changes need to be made, I will update this ticket with that ticket number.
> The create SE Linux TE file looks like this:
> module jbosshttpd 1.0;
> require {
> 	type httpd_log_t;
> 	type httpd_t;
> 	type port_t;
> 	type soundd_port_t;
> 	class tcp_socket name_bind;
> 	class file write;
> 	class dir remove_name;
> 	class udp_socket name_bind;
> }
> #============= httpd_t ==============
> allow httpd_t httpd_log_t:dir remove_name;
> allow httpd_t httpd_log_t:file write;
> #!!!! This avc can be allowed using the boolean 'allow_ypbind'
> allow httpd_t port_t:udp_socket name_bind;
> allow httpd_t soundd_port_t:tcp_socket name_bind;



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the mod_cluster-issues mailing list