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

RPM missing selinux-policy dependency

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • JWS 3.1.0 GA
    • rpm, selinux, tomcat
    • None
    • Compatibility/Configuration, User Experience
    • 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:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: