Re: Latest netstd and xinetd
-----BEGIN PGP SIGNED MESSAGE-----
On Tue, 5 Oct 1999, peter karlsson wrote:
> Is anyone here using xinetd and also having problems with the latest netstd
> update? I get this:
> # dpkg --pending --configure
> Setting up netbase (3.16-3) ...
> update-rc.d: /etc/init.d/inetd: file does not exist
> dpkg: error processing netbase (--configure):
> subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
The problem is that xinetd diverts /etc/init.d/inetd, but doesn't replace
it with anything. Or, conversely, the problem is that netbase depends on
/etc/init.d/inetd not being diverted ;)
I put the attached as /etc/init.d/inetd, it seems to work around this
problem temporarily... A better solution would be to either have xinetd
put something in place of the diverted inetd, or have netbase check to see
if /etc/init.d/inetd exists before trying to manipulate it.
finger for PGP public key.
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----
if [ -e /etc/rc2.d/???inetd ]; then
echo -n "Removing unneeded /etc/rc?.d inetd scripts..."
update-rc.d -f inetd remove 2>/dev/null >/dev/null