Wine takes a minute to start in openSUSE Leap 15.5

Questions about Wine on Linux
Locked
Winernaut
Newbie
Newbie
Posts: 2
Joined: Thu Nov 02, 2023 8:15 am

Wine takes a minute to start in openSUSE Leap 15.5

Post by Winernaut »

Any calling of Wine -- Configure Wine, or any installed Wine program -- takes nearly a minute to start. If I run the full path to a program, after the long delay I see:

Code: Select all

002c:err:winediag:getaddrinfo Failed to resolve your host name IP
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
... before the program (finally) starts.

Wine version: 8.0-bp155.1.26

I have used Wine successfully in other distros without any similar start-up problem. This is my first post in WineHQ. Any troubleshooting steps will be appreciated.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Wine takes a minute to start in openSUSE Leap 15.5

Post by jkfloris »

Code: Select all

002c:err:winediag:getaddrinfo Failed to resolve your host name IP
You get this message if the hostname is not in /etc/hosts.
By default, this file looks something like this:

Code: Select all

127.0.0.1       localhost
127.0.1.1       hostname.fqdn.example.com    hostname

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Winernaut
Newbie
Newbie
Posts: 2
Joined: Thu Nov 02, 2023 8:15 am

Re: Wine takes a minute to start in openSUSE Leap 15.5

Post by Winernaut »

It looks like that tip did the trick, jkfloris. Thank you.

/etc/hosts in openSUSE Tumbleweed -- which has run wine without delay at the start -- includes:

Code: Select all

127.0.0.1       localhost
# fallback hostname used by NetworkManager
127.0.0.1       localhost.localdomain
Leap 15.5, in contrast, only had:

Code: Select all

127.0.0.1       localhost
and not the additional:

Code: Select all

127.0.0.1       localhost.localdomain
I added this additional line to the Leap hosts file, rebooted, and have since encountered no delays while using Wine in Leap 15.5.
Locked