Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-1750

Default JkShmFile does not point to a location allowed by default selinux policy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • httpd 2.4.57.SP3 GA
    • httpd, mod_jk, selinux
    • None
    • False
    • None
    • False
    • Workaround Exists
    • Hide

      Manually adjust the config:

      JkShmFile /opt/rh/jbcs-httpd24/root/var/cache/httpd/jk.shm
      
      Show
      Manually adjust the config: JkShmFile /opt/rh/jbcs-httpd24/root/ var /cache/httpd/jk.shm

      We have bad default settings for our mod_jk.conf in jbcs-httpd24-mod_jk-ap24 as this is denied after installing jbcs-httpd24-httpd-selinux:

      JkShmFile /run/jk.shm
      

      Adjusting to another directory with the right context in JBCS works fine, for example:

      JkShmFile /opt/rh/jbcs-httpd24/root/var/cache/httpd/jk.shm
      

      So can we fix our default mod_jk.conf to work with our default selinux policies?

            vchlup@redhat.com Vladimir Chlup
            rhn-support-aogburn Aaron Ogburn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: