1 |
23.11.2014 21:47, Michael Orlitzky пишет: |
2 |
> We've got a bug in Nagios's `ping` command format detection: |
3 |
> |
4 |
> https://bugs.gentoo.org/show_bug.cgi?id=468296 |
5 |
> |
6 |
> It's easy to reproduce by taking down your "lo" interface, or by |
7 |
> filtering all icmp packets in iptables. |
8 |
> |
9 |
> Fortunately, you can override the auto-detection by passing it a magic |
10 |
> string, and that works around the bug: |
11 |
> |
12 |
> --with-ping-command="/bin/ping -n -U -w %d -c %d %s" |
13 |
> --with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s" |
14 |
> |
15 |
> Those are the formats and executable locations that get detected on my |
16 |
> machine. Can anyone think of a case where hard-coding these (using |
17 |
> $ROOT) would backfire on me? |
18 |
> |
19 |
|
20 |
Standart - cross-compilation and prefix. If you do not care about the |
21 |
latter(not having keywords for your package) - it's ok. |
22 |
Cross-compilation, or compilation into another root is trickier - you |
23 |
should support it. |
24 |
|
25 |
-- |
26 |
Best regards, Sergey Popov |
27 |
Gentoo developer |
28 |
Gentoo Desktop-effects project lead |
29 |
Gentoo Proxy maintainers project lead |