Bug 2131477

Summary: [abrt] sshuttle: bind(): client.py:172:bind:OSError: [Errno 98] Address already in use
Product: [Fedora] Fedora Reporter: Brian J. Murrell <brian.murrell>
Component: sshuttleAssignee: Kevin Fenzi <kevin>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 39CC: jonathan.underwood, kevin, maci, puiterwijk
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/1e59c0c46c45420bdfcb582560b8567429308a2e
Whiteboard: abrt_hash:fac68f31ad1dc9afbd38acf4f8594f6d8ab6d4ae;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-25 17:19:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Brian J. Murrell 2022-10-01 16:36:12 UTC
Description of problem:
Resumed from hibernation and restarted sshuttle

Version-Release number of selected component:
sshuttle-1.1.0-1.fc36

Additional info:
reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/wolf_vpn.service
cmdline:        /usr/bin/python3 /usr/bin/sshuttle -e ssh --no-latency-control -l 12304 --ns-hosts 127.10.0.4 -Nr bmurrell.hpdd.intel.com 10.8.0.0/16 10.12.0.0/16
crash_function: bind
exception_type: OSError
executable:     /usr/bin/sshuttle
interpreter:    python3-3.10.7-1.fc36.x86_64
kernel:         5.19.11-200.fc36.x86_64
runlevel:       N 5
type:           Python3
uid:            1001

Truncated backtrace:
client.py:172:bind:OSError: [Errno 98] Address already in use

Traceback (most recent call last):
  File "/usr/bin/sshuttle", line 33, in <module>
    sys.exit(load_entry_point('sshuttle==1.1.0', 'console_scripts', 'sshuttle')())
  File "/usr/lib/python3.10/site-packages/sshuttle/cmdline.py", line 100, in main
    return_code = client.main(ipport_v6, ipport_v4,
  File "/usr/lib/python3.10/site-packages/sshuttle/client.py", line 957, in main
    raise last_e
  File "/usr/lib/python3.10/site-packages/sshuttle/client.py", line 942, in main
    tcp_listener.bind(lv6, lv4)
  File "/usr/lib/python3.10/site-packages/sshuttle/client.py", line 172, in bind
    self.v4.bind(address_v4)
OSError: [Errno 98] Address already in use

Local variables in innermost frame:
self: <sshuttle.client.MultiListener object at 0x7f3d534e9120>
address_v6: None
address_v4: ('0.0.0.0', 12304)

Potential duplicate: bug 2081677

Comment 1 Brian J. Murrell 2022-10-01 16:36:15 UTC
Created attachment 1915460 [details]
File: backtrace

Comment 2 Brian J. Murrell 2022-10-01 16:36:16 UTC
Created attachment 1915461 [details]
File: cpuinfo

Comment 3 Brian J. Murrell 2022-10-01 16:36:17 UTC
Created attachment 1915462 [details]
File: environ

Comment 4 Brian J. Murrell 2022-10-01 16:36:18 UTC
Created attachment 1915463 [details]
File: mountinfo

Comment 5 Brian J. Murrell 2022-10-01 16:36:19 UTC
Created attachment 1915464 [details]
File: namespaces

Comment 6 Brian J. Murrell 2022-10-01 16:36:20 UTC
Created attachment 1915465 [details]
File: open_fds

Comment 7 Ben Cotton 2023-04-25 18:01:03 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 8 Brian J. Murrell 2023-04-25 19:03:11 UTC
This still happens in F37 and F38 and rawhide I am quite sure.

Can somebody with privs please update the version here?

Comment 9 Ludek Smid 2023-05-25 17:19:57 UTC
Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16.

Fedora Linux 36 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 10 Brian J. Murrell 2023-05-25 17:52:57 UTC
See comment#38.

Comment 11 Fedora Release Engineering 2023-08-16 07:06:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.