package approx
tags 589937 + pending
thanks
On Thu, Jul 22, 2010 at 06:50:57AM -0500, vlm wrote:
> 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
It looks like the bug is due to this line (created by the postinst script).
If you change these lines to:
9999 stream tcp4 nowait approx /usr/sbin/approx /usr/sbin/approx
9999 stream tcp6 nowait approx /usr/sbin/approx /usr/sbin/approx
it should work OK.
The inetd.conf file requires an additional argv[0] after the
approx pathname. I guess openbsd-inetd is more forgiving and does
execve("/usr/sbin/approx", ["/usr/sbin/approx"], env)
but inetutils-inetd just does
execve("/usr/sbin/approx", [], env)
resulting in an empty argv[], which the approx program assumed "could
never happen".
--
Eric Cooper e c c @ c m u . e d u
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]