FS#69648 - [wine] Network connectivity is broken (DNS, ICMP, etc.)

Attached to Project: Community Packages
Opened by Manawyrm (Manawyrm) - Monday, 15 February 2021, 11:17 GMT
Last edited by David Thurstenson (thurstylark) - Sunday, 10 April 2022, 08:58 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
On wine 6.1-1 (x86_64), network connectivity inside Wine stopped working.
Applications such as WinSCP, Navicat, etc. stopped being able to connect to any network devices, updates didn't work, etc.

Setting "setcap cap_net_raw+epi /usr/bin/wine-preloader" resolved the issue for me.
I'm assuming this used to be a default previously?

Steps to reproduce:
tobias@tobias-arch-laptop ~ % sudo pacman -S wine
tobias@tobias-arch-laptop ~ % wine cmd
Microsoft Windows 6.1.7601

Z:\home\tobias>ping 8.8.8.8
Pinging 8.8.8.8 [8.8.8.8] with 32 bytes of data:
Request timed out.
Z:\home\tobias>ping google.de
Ping request could not find host google.de. Please check the name and try again.


This task depends upon

Closed by  David Thurstenson (thurstylark)
Sunday, 10 April 2022, 08:58 GMT
Reason for closing:  No response
Comment by Emil (xexaxo) - Wednesday, 17 March 2021, 11:05 GMT
AFAICT wine-preloader never had the capability bit set. The 6.1 changelog [1] does mention a few network related changes, but nothing which should require the extra cap.
Might be good idea to do a bisection [2] to find the regression and report the findings upstream.


[1] https://www.winehq.org/announce/6.1
[2] https://wiki.winehq.org/Regression_Testing
Comment by Emil (xexaxo) - Sunday, 27 March 2022, 11:05 GMT
Both wine 7.4 and 7.5 work as expected over here.

Since wine does not require any capabilities, there might be some network-related magic on your end. I would suggest opening a bug upstream - they know the exact workings better than us.

Loading...