Bug 1216890 - Wine minute delay to start in Leap 15.5; resolution in /etc/hosts
Summary: Wine minute delay to start in Leap 15.5; resolution in /etc/hosts
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Marcus Meissner
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-05 10:51 UTC by T Adams
Modified: 2023-11-14 11:47 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description T Adams 2023-11-05 10:51:54 UTC
Any calling of Wine in Leap 15.5 -- Configure Wine, or any installed Wine program -- took nearly a minute to start.  Running the full path to the program in a terminal produced:

002c:err:winediag:getaddrinfo Failed to resolve your host name IP

I posted a message on the WineHQ forum -- https://forum.winehq.org/viewtopic.php?t=38182 -- and was directed to look at my hosts file.  Here, I found the solution.

Wine always starts properly in Tumbleweed, which includes the following in /etc/hosts :

127.0.0.1       localhost
# fallback hostname used by NetworkManager
127.0.0.1       localhost.localdomain

Leap 15.5, however, only had:

127.0.0.1       localhost

I added the line:

127.0.0.1       localhost.localdomain

to the Leap 15.5 /etc/hosts file .  Wine now starts quickly in Leap 15.5.  

I thought you'd want to know.  I was able to reproduce the problem and solution in a second bare metal Leap 15.5 installation.