[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#74759: xinetd: depends on portmap which may not be there



Josip Rodin <joy@cibalia.gkvk.hr> wrote:

> But it's an option that is supposed to avoid any errors. From the manual
> page:

>        -o|--oknodo
>               Return exit status 0 instead of 1 if no actions are
>               (would be) taken.

> No actions can be taken if it can't stat the executable.

IMHO the "no actions" phrase only applies to the case of no running
processes.  Maybe the manual page can be improved.

Anyway, you can either use /etc/init.d/portmap to stop portmap,
do a [ -f ] yourself, or if you really want to ignore all errors,
use set +a/set -a or || :.

> Anyway, it's much easier to change this in one place, s-s-d, than to do it
> in numerous maintainer scripts. Please consider it.

What other package scripts are affected?
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: