Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-1019

Enhance the SELinux postinstall script

XMLWordPrintable

    • 1
    • Documentation (Ref Guide, User Guide, etc.)
    • +

      Currently the SELinux postinstall script just updates the FC file locations:

      $ cat .postinstall-selinux 
      #!/bin/sh
      #
      umask 077
      
      currentDir=`pwd`
      
      # Fix selinux file context locations
      sed -i -e "s:@@CWD@@:$currentDir:" selinux/jws5-tomcat*.fc
      

      After users run that, they need to build the policy and apply it with semodule manually. We should be able to do that in the script too.

            rhn-support-csutherl Coty Sutherland
            rhn-support-csutherl Coty Sutherland
            Jan Onderka Jan Onderka
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: