Bug 1952000 - Resolv::DNS: ruby:2.7/ruby: timeouts if multiple IPv6 name servers are given and address contains leading zero [rhel-8] [rhel-8.4.0.z]
Summary: Resolv::DNS: ruby:2.7/ruby: timeouts if multiple IPv6 name servers are given ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ruby
Version: 8.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: beta
: ---
Assignee: Vít Ondruch
QA Contact: Jan Houska
URL:
Whiteboard:
Depends On: 1944227
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-21 09:54 UTC by RHEL Program Management Team
Modified: 2021-10-21 14:05 UTC (History)
4 users (show)

Fixed In Version: ruby-2.7.3-136.module+el8.4.0+10728+4c884998
Doc Type: No Doc Update
Doc Text:
Clone Of: 1944227
Environment:
Last Closed: 2021-06-29 16:01:49 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 7 Jan Houska 2021-05-25 09:22:35 UTC
VERIFIED


NEW PASS
ruby-2.7.3-136.module+el8.4.0+10728+4c884998


::   Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 17:02:11 ] :: [   INFO   ] :: using '/var/tmp/beakerlib-126136375/backup' as backup destination
Redirecting to /bin/systemctl status named.service
Redirecting to /bin/systemctl start named.service
:: [ 17:02:12 ] :: [   LOG    ] :: rlServiceStart: Service named started successfully
:: [ 17:02:12 ] :: [  BEGIN   ] :: Run reproducer :: actually running 'timeout 3 ruby -rresolv -e 'puts Resolv::DNS.new.getresource("localhost.", Resolv::DNS::Resource::IN::A).address' 2>&1 | tee output.txt'
127.0.0.1
:: [ 17:02:12 ] :: [   PASS   ] :: Run reproducer (Expected 0, got 0)
:: [ 17:02:12 ] :: [   PASS   ] :: File 'output.txt' should contain '127.0.0.1' 
Redirecting to /bin/systemctl status named.service
Redirecting to /bin/systemctl stop named.service
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 1s
::   Assertions: 2 good, 0 bad
::   RESULT: PASS

** Test PASS Score:0
Uploading resultoutputfile.log .done


OLD FAIL:
ruby-2.7.1-133.module+el8.3.0+7192+4e3a532a



:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 05:21:42 ] :: [   INFO   ] :: using '/var/tmp/beakerlib-RmgEWpM/backup' as backup destination
Redirecting to /bin/systemctl status named.service
Redirecting to /bin/systemctl start named.service
:: [ 05:21:42 ] :: [   LOG    ] :: rlServiceStart: Service named started successfully
:: [ 05:21:42 ] :: [  BEGIN   ] :: Run reproducer :: actually running 'timeout 3 ruby -rresolv -e 'puts Resolv::DNS.new.getresource("localhost.", Resolv::DNS::Resource::IN::A).address' 2>&1 | tee output.txt'
:: [ 05:21:45 ] :: [   FAIL   ] :: Run reproducer (Expected 0, got 124)
:: [ 05:21:45 ] :: [   FAIL   ] :: File 'output.txt' should contain '127.0.0.1' 
Redirecting to /bin/systemctl status named.service
Redirecting to /bin/systemctl stop named.service
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 4s
::   Assertions: 0 good, 2 bad
::   RESULT: FAIL (Test)

Comment 11 errata-xmlrpc 2021-06-29 16:01:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: ruby:2.7 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2584


Note You need to log in before you can comment on or make changes to this bug.