package approx
reassign 600796 rlinetd 0.7-1
thanks
> While upgrading approx 4.2-1 -> 4.5-1 I face this problem:
>
> Setting up approx (4.5-1) ...
> Cannot find cached rlinetd's config files for service ^(\d|\w)+\s.appro,
> ignoring remove request
> *** WARNING: ucf was run from a maintainer script that uses debconf, but
> the script did not pass --debconf-ok to ucf. The maintainer
> script should be fixed to not stop debconf before calling ucf,
> and pass it this parameter. For now, ucf will revert to using
> old-style, non-debconf prompting. Ugh!
>
> Please inform the package maintainer about this problem.
This seems to be caused by rlinetd's alternative version of
update-inetd, since neither approx nor the standalone update-inetd use
ucf. From a cursory examination, it looks like the problem is due to
the fact that rlinetd's version of update-inetd doesn't handle a
regexp as an argument to "--remove", which the real update-inetd does.
Reassigning to rlinetd.
For the rlinetd maintainer: my postinst script is doing this:
# first remove any "vanilla" entry from /etc/inetd.conf
update-inetd --remove '^(\d|\w)+\s.*\bapprox\b'
# add entry to /etc/inetd.conf
db_get approx/port
port="$RET"
update-inetd --add "$port\t\tstream\ttcp\tnowait\tapprox\t/usr/sbin/approx
/usr/sbin/approx"
If there is an easy workaround to make it work with rlinetd, please
let me know.
--
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]