Package: approx
Version: 4.3-1
Severity: important

In summary, I can switch back and forth between inetutils-inetd and
openbsd-inetd, and approx works perfectly on ipv4 and ipv6 with
ONLY openbsd-inetd.  approx will install on a system with either,
but it'll only work on an openbsd-inetd system.

My test below was just the usual webserver test of telneting to the
port (and if possible) hitting enter, but trust me, apt-get works
great with the openbsd-inetd and fails utterly with the inetutils-inetd

The symptoms seem to match Ubuntu bug 478899.  No idea what the folks
in Ubuntu bug 478899 were using for an inetd.

I suppose you need a "conflicts" for inetutils-inetd?

Details below

(My only "non standard" config is running ipv6, but come on its 2010 now)
(also fails without the tcp6 line, perhaps the slightly different error)
(for ipv4 and ipv6 might help)

firewall:~# tail -3 /etc/inetd.conf
#:OTHER: Other services
9999            stream  tcp     nowait  approx  /usr/sbin/approx
9999    stream  tcp6     nowait  approx  /usr/sbin/approx
firewall:~#

firewall:~# apt-get install inetutils-inetd

(boring stuff deleted)

firewall:~# telnet 127.0.0.1 9999
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
firewall:~# telnet ::1 9999
Trying ::1...
Connected to ::1.
Escape character is '^]'.
Fatal error: exception Invalid_argument("index out of bounds")
Connection closed by foreign host.
firewall:~#

firewall:~# apt-get install openbsd-inetd

firewall:~# telnet 127.0.0.1 9999
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.

HTTP/1.1 400 Bad Request
Content-type: text/html
Content-Length: 81
Date: Thu, 22 Jul 2010 11:35:18 GMT
Connection: close
Server: approx/4.3 Ocamlnet/2.2.9

<html><title>400 Bad Request</title><body><h1>400: Bad 
Request</h1></body></html>Connection closed by foreign host.
firewall:~# telnet ::1 9999
Trying ::1...
Connected to ::1.
Escape character is '^]'.

HTTP/1.1 400 Bad Request
Content-type: text/html
Content-Length: 81
Date: Thu, 22 Jul 2010 11:35:22 GMT
Connection: close
Server: approx/4.3 Ocamlnet/2.2.9

<html><title>400 Bad Request</title><body><h1>400: Bad 
Request</h1></body></html>Connection closed by foreign host.
firewall:~#

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages approx depends on:
ii  adduser                     3.112        add and remove users and groups
ii  bzip2                       1.0.5-4      high-quality block-sorting file co
ii  curl                        7.21.0-1     Get a file from an HTTP, HTTPS or 
ii  debconf [debconf-2.0]       1.5.33       Debian configuration management sy
ii  libc6                       2.11.2-2     Embedded GNU C Library: Shared lib
ii  libpcre3                    7.8-3        Perl 5 Compatible Regular Expressi
ii  openbsd-inetd [inet-superse 0.20080125-4 The OpenBSD Internet Superserver
ii  update-inetd                4.36         inetd configuration file updater

approx recommends no packages.

Versions of packages approx suggests:
pn  libconfig-model-approx-perl   <none>     (no description available)

-- Configuration Files:
/etc/approx/approx.conf changed:
max_wait        120
debian          http://http.us.debian.org/debian
multimedia      http://www.debian-multimedia.org
security        http://security.debian.org/debian-security
volatile        http://volatile.debian.org/debian-volatile
non-us          http://non-us.debian.org/debian-non-US


-- debconf information:
* approx/port: 9999



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to