Bug#506764: siproxd: Problem with DNS resolution when in chroot jail

Faidon Liambotis paravoid at debian.org
Mon Nov 24 18:43:25 UTC 2008


Frédéric Boiteux wrote:
 >   I've backported the latest siproxd (from experimental) on a Debian
> Etch. It didn't work at first, and activating debug traces, I've found 
> that when using this proxy in a chroot jail (default configuration), the 
> DNS resolution isn't working :
> 
> siproxd[10444]: utils.c:193 gethostbyname(ekiga.net) failed: h_errno=1 [Unknown host]
> 
> I've found a similar report on the web :
> http://osdir.com/ml/network.siproxd/2005-10/msg00004.html
> 
> and I've implemented the trivial solution suggested, as the resolution 
> of 'localhost' don't seem sufficient (see attached patch), and it works 
> fine now.
Err, you're probably missing a proper /etc/hosts...

Regards,
Faidon





More information about the Pkg-voip-maintainers mailing list