Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-34906

race condition in curl's dns impacting customer's internal tool powerman

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rhel-8.10.z
    • rhel-8.9.0
    • curl
    • None
    • curl-7.61.1-34.el8_10.3
    • None
    • Low
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Requested
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      Customer found a race condition issue with curl's DNS when testing their internal powercontrol tooling. 

       

      > src/redfishpower/redfishpower -h elcap-cmm[71-99] -S redfish/v1/Chassis/Enclosure -A USER:PASS
      redfishpower> stat
      elcap-cmm77: on
      elcap-cmm78: on
      elcap-cmm79: on
      ...

       

      consistently works. But launching this way and only stat-ing one cmm

      $ src/redfishpower/redfishpower -h elcap-cmm[71-99] -S redfish/v1/Chassis/Enclosure -A USER:PASS
      redfishpower> stat elcap-cmm71
      elcap-cmm71: operation timeout

      doesn't consistently work.

       

       

      They found that this is fixed in the following  libcurl 7.66 commit and would like this backported for RHEL 8.10

      https://github.com/curl/curl/commit/eb9a604f8d7db859555adc0ddacdabd1ed986106

      (The PR from which is came https://github.com/curl/curl/pull/4157)

      Please provide the package NVR for which bug is seen:

      libcurl-7.61.1-33.el8_9.5.x86_6

      How reproducible:

      Customer able to reproduce inconsistently since it is a race condition issue. They are willing to test a package which includes this patch to verify that it solves the problem.

       

      Customer needs this in 8.10 because they have a high profile deployment.

              jmigacz@redhat.com Jacek Migacz
              rhn-support-ckrell Charlie Krell
              Jacek Migacz Jacek Migacz
              Daniel Rusek Daniel Rusek
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: