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

SELinux: kubelet running with wrong label

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 4.16.0
    • 4.15.z
    • Node / Kubelet

      Description of problem:

      The kubelet is running with `unconfined_service_t`. It should run as `kubelet_exec_t`. This is causing all our plugins to fail because of Selinux denial.
      
      sh-5.1# ps -AZ | grep kubelet
      system_u:system_r:unconfined_service_t:s0 8719 ? 00:24:50 kubelet
      
      This issue was previously observed and resolved in 4.14.10. 

      Version-Release number of selected component (if applicable):

      OCP 4.15

      How reproducible:

      Run ps -AZ | grep kubelet to see kubelet running with wrong label

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          Kubelet is running as unconfined_service_t

      Expected results:

          Kubelet should run as kubelet_exec_t

      Additional info:

          

              rphillip@redhat.com Ryan Phillips
              hersh.pathak1@intel.com Hersh Pathak (Inactive)
              Min Li Min Li
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: