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

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 1.2.6.Final
    • 1.0.4.GA
    • None
    • None

      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;

            mbabacek1@redhat.com Michal Karm
            jtyrrell-se-jboss Jim Tyrrell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: