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

Baremetal runtime prepender creates /etc/resolv.conf mode 0600 and bad selinux context

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Reported by @dollierp in OCPBUGS-7293 /etc/resolv.conf has mode 0600

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

      4.13

      How reproducible:

      100% 

      Steps to Reproduce:

      1. Install a 4.13 cluster using RHCOS 9.2 on a baremetal network runtime platform
      2. 
      3.
      

      Actual results:

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

      Expected results:

      /etc/resolv.conf is 0644
      /etc/resolv.conf is system_u:object_r:net_conf_t:s0

      Additional info:

      Unclear why this happens only on 9.x

            bnemec@redhat.com Benjamin Nemec
            rhn-support-sdodson Scott Dodson
            Jad Haj Yahya Jad Haj Yahya
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: