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

selinux context of /etc/resolv.conf needs to be reset on pivot from 8.6 to 9.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 4.13.0
    • RHCOS
    • None
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      As reported in OCPBUGS-7293 by @dollierp the context of /etc/resolv.conf is such that openvswitch cannot access it and emits selinux denials

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

      4.13

      How reproducible:

       

      Steps to Reproduce:

      1. Install 4.13 based on RHCOS 9.2
      2.
      3.
      

      Actual results:

      /etc/resolv.conf is system_u:object_r:tmp_t:s0

      Expected results:

      /etc/resolv.conf is reset

      Additional info:

      forked from https://issues.redhat.com/browse/OCPBUGS-7293?focusedCommentId=21789302&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-21789302

            Unassigned Unassigned
            rhn-support-sdodson Scott Dodson
            Michael Nguyen Michael Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: