Your message dated Mon, 01 Feb 2021 22:00:05 +0000
with message-id <[email protected]>
and subject line Bug#978740: Removed package(s) from unstable
has caused the Debian Bug report #506764,
regarding siproxd: Problem with DNS resolution when in chroot jail
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
506764: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506764
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: siproxd
Version: 1:0.7.1-1
Severity: normal
Tags: patch
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.
Fred.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages siproxd depends on:
ii adduser 3.102 Add and remove users and groups
ii libc6 2.3.6.ds1-13etch7 GNU C Library: Shared libraries
ii libosip2-3deb 3.1.0-1.1calistelEtch1 Session Initiation Protocol (SIP)
siproxd recommends no packages.
-- no debconf information
--- siproxd-0.7.1/src/utils.c 2008-01-19 17:07:14.000000000 +0100
+++ siproxd-0.7.1mod/src/utils.c 2008-11-24 16:51:40.000000000 +0100
@@ -302,6 +302,14 @@
*/
struct in_addr dummy;
get_ip_by_host("localhost", &dummy);
+ /* As I got failed gethostname() when using siproxd in chroot jail,
+ * following suggestion found on Internet,
+ * see http://osdir.com/ml/network.siproxd/2005-10/msg00004.html,
+ * I added a resolution to a (well known ;-) external name.
+ * Fred.
+ */
+ get_ip_by_host("www.debian.org", &dummy);
+
DEBUGC(DBCLASS_CONFIG,"chrooting to %s",
configuration.chrootjail);
sts = chroot(configuration.chrootjail);
--- End Message ---
--- Begin Message ---
Version: 1:0.8.1-4.1+rm
Dear submitter,
as the package siproxd has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/978740
The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Joerg Jaspert (the ftpmaster behind the curtain)
--- End Message ---