Hi, is there a patch anywhere, which will allow wine to reread the /etc/resolv.conf file.
i.e. application lotus notes
a) start notes whilst connected to home network. /etc/resolv.conf gets populated by home dhcp server b) start vpn connection to work /etc/resolv.conf gets populated with extra name servers c) try and connect to work notes, server fails, as it cannot resolve named address
If you start notes after the vpn connection is started, then /etc/resolv if correctly populated and the problem does not occur. Same issue happens when u suspend your machine and start in a different location.
Does anyone have a patch or know how to get wine to reread /etc/resolv.conf periodically?
Grant.
Grant Williamson traxtopel@fastmail.fm wrote:
a) start notes whilst connected to home network. /etc/resolv.conf gets populated by home dhcp server b) start vpn connection to work /etc/resolv.conf gets populated with extra name servers c) try and connect to work notes, server fails, as it cannot resolve named address
No problem here with Crossover Office, Notes 6.5.1 and cisco vpn client 4.6-something. But I usually start the VPN tunnel before Notes.
Hi,
On Wed, Nov 10, 2004 at 10:13:27PM +0100, Grant Williamson wrote:
Hi, is there a patch anywhere, which will allow wine to reread the /etc/resolv.conf file.
Wine doesn't read the resolv.conf file, at all (ok, I didn't check, but I'd be very surprised if it did).
Wine uses bog-standard networking support APIs, there's no magic involved in connecting to the net.
As such the problem is probably that Wine makes use of an API that somehow doesn't take into account a changed name server configuration.
The best way to find out how Wine does name lookup in case of your application is to do strace -f wine ... &>/tmp/wine.log (hopefully no wrapper script will get in the way)
Then figure out why this API doesn't react to resolv.conf changes, if this is abnormal behaviour or if Wine should use a different method to do name lookup.
Andreas Mohr
On Wed, 10 Nov 2004 22:13:27 +0100, Grant Williamson wrote:
Hi, is there a patch anywhere, which will allow wine to reread the /etc/resolv.conf file.
This is a glibc problem. I'm pretty sure Red Hat fixed this recently as part of their NetworkManager work. It might be in Fedora Core 3, I'd ask on fedora-devel.
thanks -mike