[Cascavel-pm] perl Insecure dependency in kill

Nelson Ferraz nferraz em gmail.com
Terça Abril 13 08:20:05 PDT 2010


2010/4/13 Leonardo Reginin <leonardo em procergs.rs.gov.br>:
> Eu atualizei minha versão do perl de 5.8.7 para 5.8.9 via ports no FreeBSD.
> Depois disto a mensagen abaixo começou a aparecer no meus programas e
> principalmente no MRTG.
>
> Insecure dependency in kill while running with -T switch at
> /usr/local/lib/perl5/site_perl/5.8.9/MRTG_lib.pm line 1180, <READPID> line
> 1.

Você conhece o comando "splain"? Ele pode ser útil para entender
mensagens de erro de Perl.

$ echo "Insecure dependency in kill while running with -T switch at" | splain
Insecure dependency in kill while running with -T switch at (#1)
    (F) You tried to do something that the tainting mechanism didn't like.
    The tainting mechanism is turned on when you're running setuid or
    setgid, or when you specify -T to turn it on explicitly.  The
    tainting mechanism labels all data that's derived directly or indirectly
    from the user, who is considered to be unworthy of your trust.  If any
    such data is used in a "dangerous" operation, you get this error.  See
    perlsec for more information.

Por acaso você reinstalou ou reconfigurou o Apache? Verifique se por
acaso não tem a diretiva PerlTaintCheck ativada.

Você encontrará mais informacoes em:

    perldoc perlsec


Mais detalhes sobre a lista de discussão Cascavel-pm