Subject: Re: [Openvpn-devel] Re: OpenVPN --resolv-retry and --chroot problem From: "James Yonan" Message-ID: In-Reply-To: <1067495953.8347.253.camel@...125...> References: , Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Date: Thu Oct 30 15:55:04 2003 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: Teemu Kiviniemi Cc: openvpn-devel@lists.sourceforge.net Teemu Kiviniemi said: > Wed, 29-10-2003 at 23:38, James Yonan wrote: > > > I would rather see this fix accomplished by adding some kind of dummy call > > early on in the initialization sequence to trigger the dynamic load of the DNS > > library -- but which doesn't touch the functionality of the current DNS name > > resolution code. > > Hi, > > I made a new patch. This time the name lookup is done in openvpn.c if > options->remote is set, just before entering the chroot jail. > > http://iki.fi/teemuki/openvpn/cvs-resolvfix2.diff > The patch is against the current CVS version. Cool -- I merged it. James