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

dbginfo.sh: global original Input Field Separator (IFS)

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • No
    • s390x
    • backport requested via s390-tools update only for RHEL 8.10 and RHEL 9.4 so far
    • None
    • None
    • None
    • Multi-Arch Sprint 254, Multi-Arch Sprint 255
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      colelct_ovs() used an global variable of original IFS to restore IFS after updating it, but original IFS was not saved before.

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

       

      How reproducible:

      running dbginfo.sh with ovs installed on the guest

      Steps to Reproduce:

      1. run dbginfo.sh in a RHCOS env
      2. script does not collect /var/log data (check when unpacking the data)
      

      Actual results:

      /var/log is a hugh directory structure only in the debug data

      Expected results:

      collection of the logfiles as listed in the script

      Additional info:

      Replace local ifs_orig variables in different functions by a single
      global IFS_ORI variable. This will reduce the risk of missing a local
      saving and restore of the original IFS

      https://github.com/ibm-s390-linux/s390-tools/commit/28751a097a1b6a97236106ca1e2d5b8ec7b1ba02

              eterrell@redhat.com Eduardo Otubo
              siglen@de.ibm.com Jörn Siglen
              None
              Jörn Siglen
              Florian Leber Florian Leber
              None
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: