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

RPM missing selinux-policy dependency

XMLWordPrintable

    • Compatibility/Configuration, User Experience
    • The `selinux-policy` package is now set as a dependency for the `tomcat-selinux` package and will be installed when using `yum install tomcat-selinux`.
    • Documented as Resolved Issue
    • Hide

      yum remove selinux-policy
      yum install tomcat8-selinux
      check output to see errors during install

      cp: cannot stat `/etc/selinux/targeted/contexts/files/file_contexts': No such file or directory
      error: %pre(tomcat8-selinux-0:8.0.36-17.ep7.el6.noarch) scriptlet failed, exit status 1
      Error in PREIN scriptlet in rpm package tomcat8-selinux-8.0.36-17.ep7.el6.noarch
      error:   install: %pre scriptlet failed (2), skipping tomcat8-selinux-0:8.0.36-17.ep7.el6
      
      Show
      yum remove selinux-policy yum install tomcat8-selinux check output to see errors during install cp: cannot stat `/etc/selinux/targeted/contexts/files/file_contexts': No such file or directory error: %pre(tomcat8-selinux-0:8.0.36-17.ep7.el6.noarch) scriptlet failed, exit status 1 Error in PREIN scriptlet in rpm package tomcat8-selinux-8.0.36-17.ep7.el6.noarch error: install: %pre scriptlet failed (2), skipping tomcat8-selinux-0:8.0.36-17.ep7.el6

      Packages tomcat7-selinux and tomcat8-selinux are missing selinux-policy dependency and it leads to install failure if package selinux-policy is missing on the system.
      Also there is missing policycoreutils dependency due to use of /usr/sbin/semodul, /sbin/restorecon and /sbin/fixfiles in scriptlets part of tomcatX-selinux package.

            rhn-support-csutherl Coty Sutherland
            jonderka@redhat.com Jan Onderka
            Jan Onderka Jan Onderka
            Tyler Kelly Tyler Kelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: