Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-211

SE Linux in RHEL 6 does not support mod_cluster in the context of HTTPD

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.4.GA
    • Fix Version/s: 1.2.6.Final
    • Component/s: None
    • Labels:
      None
    • Environment:

      Apache 2.2.15 in RHEL 6 with mod_cluster in EAP

      Description

      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;

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mbabacek Michal Karm
                  Reporter:
                  jtyrrell Jim Tyrrell
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: