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

Enhance the SELinux postinstall script

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

            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

            Dates

              Created:
              Updated:
              Resolved: