Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1840079

Summary: TCP traceroute exits with "address in use" errors -- fixed by upgrade to 0.93
Product: [Fedora] Fedora Reporter: Dominique Martinet <g.fhnrunznrqeqf>
Component: mtrAssignee: Michal Sekletar <msekleta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: msekleta, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mtr-0.94-1.fc33 mtr-0.94-1.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-27 01:18:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dominique Martinet 2020-05-26 10:33:11 UTC
Description of problem:
mtr in tcp mode (--tcp --port x) sometimes fail to bind or connect with EADDRINUSE/EADDRNOTAVAIL errors. Since it always picks the same port numbers this make it very annoying, having to reboot to 'fix' the issue in case of bind or wait until the FIN-WAIT connections drop in case of accept.

mtr now retries with another port by default in v0.93, so this is no longer required.

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

How reproducible:
Sometimes

Steps to Reproduce:
1. run e.g. `mtr --report --report-wide --tcp --port 80 -c 5 -n 1.1.1.1` multiple times, sometimes gets stuck

Actual results:
cannot get full traceroute because aborted early

Expected results:
get full traceroute.

Additional info:
I would be happy to submit a PR on pagure for the upgrade, but in the past I've had projects ignore PRs until I open a bz so starting with bz... Ideally new versions should go to rawhide only but since it fixes an actual bug it would be good to have in f32 at least?
If you want to just backport a patch the fix would probably be https://github.com/traviscross/mtr/commit/0934883fe1455e9e63ad978451bbeba3d37cf9b1 but that is more work... see https://github.com/traviscross/mtr/issues/304 for details.

Comment 1 Fedora Update System 2021-01-24 20:49:03 UTC
FEDORA-2021-1045cf08ac has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-1045cf08ac

Comment 2 Fedora Update System 2021-01-24 20:49:09 UTC
FEDORA-2021-8e18d291cb has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-8e18d291cb

Comment 3 Fedora Update System 2021-01-25 02:08:13 UTC
FEDORA-2021-8e18d291cb has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-8e18d291cb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-8e18d291cb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-01-25 02:19:11 UTC
FEDORA-2021-1045cf08ac has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-1045cf08ac`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-1045cf08ac

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-01-27 01:18:27 UTC
FEDORA-2021-1045cf08ac has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2021-02-02 02:22:38 UTC
FEDORA-2021-8e18d291cb has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.