Bugzilla – Bug 1216890
Wine minute delay to start in Leap 15.5; resolution in /etc/hosts
Last modified: 2023-11-14 11:47:51 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.