Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-23040

microshift-selinux scriptlet fails on RHEL 9.3 ARM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 4.14.z
    • MicroShift
    • No
    • uShift Sprint 244
    • 1
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Installing MicroShift V4.14.1 on RHEL 9.3 AARCH64 logs the selinux scriptlet to fail

      How reproducible:

      always

      Steps to Reproduce:

      1. follow installation instructions
      2. watch output of "dnf install microshift"
      
      

      Actual results:

      ...
      ... 
      Installing       : microshift-networking-4.14.1-202310271350.p0.g1586504.assembly.4.14.1.el9.aarch64                                                                                                                                                           47/49 
        Running scriptlet: microshift-networking-4.14.1-202310271350.p0.g1586504.assembly.4.14.1.el9.aarch64                                                                                                                                                           47/49 
      Warning: The unit file, source configuration file or drop-ins of NetworkManager.service changed on disk. Run 'systemctl daemon-reload' to reload units.
      
      
        Running scriptlet: microshift-selinux-4.14.1-202310271350.p0.g1586504.assembly.4.14.1.el9.noarch                                                                                                                                                               48/49 
        Installing       : microshift-selinux-4.14.1-202310271350.p0.g1586504.assembly.4.14.1.el9.noarch                                                                                                                                                               48/49 
        Running scriptlet: microshift-selinux-4.14.1-202310271350.p0.g1586504.assembly.4.14.1.el9.noarch                                                                                                                                                               48/49 
      restorecon: lstat(/usr/bin/microshift) failed: No such file or directory
      restorecon: lstat(/usr/bin/microshift-etcd) failed: No such file or directory
      warning: %post(microshift-selinux-4.14.1-202310271350.p0.g1586504.assembly.4.14.1.el9.noarch) scriptlet failed, exit status 255
      
      
      Error in POSTIN scriptlet in rpm package microshift-selinux
        Installing       : microshift-4.14.1-202310271350.p0.g1586504.assembly.4.14.1.el9.aarch64                                                                                                                                                                      49/49 
        Running scriptlet: microshift-4.14.1-202310271350.p0.g1586504.assembly.4.14.1.el9.aarch64    
      ...
       

      Expected results:

      No errors and warnings

      Additional info:

       

            ggiguash@redhat.com Gregory Giguashvili
            dfroehli42rh Daniel Fröhlich
            John George John George
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: