23.11.2014 21:47, Michael Orlitzky пишет:
> We've got a bug in Nagios's `ping` command format detection:
> 
>   https://bugs.gentoo.org/show_bug.cgi?id=468296
> 
> It's easy to reproduce by taking down your "lo" interface, or by
> filtering all icmp packets in iptables.
> 
> Fortunately, you can override the auto-detection by passing it a magic
> string, and that works around the bug:
> 
>   --with-ping-command="/bin/ping -n -U -w %d -c %d %s"
>   --with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s"
> 
> Those are the formats and executable locations that get detected on my
> machine. Can anyone think of a case where hard-coding these (using
> $ROOT) would backfire on me?
> 

Standart - cross-compilation and prefix. If you do not care about the
latter(not having keywords for your package) - it's ok.
Cross-compilation, or compilation into another root is trickier - you
should support it.

-- 
Best regards, Sergey Popov
Gentoo developer
Gentoo Desktop-effects project lead
Gentoo Proxy maintainers project lead

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to