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

RPM missing selinux-policy dependency

XMLWordPrintable

    • Release Notes, Compatibility/Configuration, User Experience
    • A dependency on the selinux-policy was missing which caused the SELinux subpackages to fail to install.
    • 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.

              rhn-support-csutherl Coty Sutherland
              jonderka@redhat.com Jan Onderka
              Jan Onderka Jan Onderka
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: