Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468296 - net-analyzer/nagios-plugins-1.4.16-r{2,3} - configure hangs indefinitely at checking ICMP ping syntax
Summary: net-analyzer/nagios-plugins-1.4.16-r{2,3} - configure hangs indefinitely at c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sysadmin Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-02 13:46 UTC by Andreas Sturmlechner
Modified: 2014-11-26 02:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (nagios-plugins-build.log,39.69 KB, text/plain)
2013-05-02 13:46 UTC, Andreas Sturmlechner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2013-05-02 13:46:38 UTC
Created attachment 347132 [details]
build.log

$summary

also, attached build.log

Unfortunately my search for a solution didn't bring up much except for some ancient results.
Comment 1 Aleister 2013-06-20 15:38:18 UTC
thought i had seen this one before. My problem was that iptables was setup to drop all ICMP traffic, so i had to temporarily drop a few rules from iptables to let configure complete...
Comment 2 Andreas Sturmlechner gentoo-dev 2014-02-16 11:11:17 UTC
No iptables involved here... but I couldn't reproduce this on a new machine.
Comment 3 Michael Orlitzky gentoo-dev 2014-11-23 20:31:25 UTC
I have a fix for this, just waiting to make sure the cure is not worse than the disease.
Comment 4 Jan Kundrát (RETIRED) gentoo-dev 2014-11-24 21:25:51 UTC
I wonder whether it makes any sense to filter out ICMP on lo. Essentially any firewall tutorial starts with something like `iptables -i lo -j ACCEPT`. Is there any valid use case for filtering traffic on lo? What attack model does it guard against?

Perhaps it's not worth the risk of future breakage to support a (IMHO, anyway) misconfigured system.
Comment 5 Michael Orlitzky gentoo-dev 2014-11-26 01:49:58 UTC
(In reply to Jan Kundrát from comment #4)
> I wonder whether it makes any sense to filter out ICMP on lo.

I don't think there is one. But it's an easy enough misconfiguration to create. Having no network support whatsoever (i.e. `ifconfig lo down`) is much more probable.

> Perhaps it's not worth the risk of future breakage to support a (IMHO,
> anyway) misconfigured system.

That's why I asked, but I'm feeling adventurous. The syntax seems to be the same everywhere, and I'm going to leave a note in the ebuild mentioning this bug. So if anyone has a problem I'll just quickly revert it.
Comment 6 Michael Orlitzky gentoo-dev 2014-11-26 02:07:09 UTC
Whee:

*nagios-plugins-2.0.3-r1 (26 Nov 2014)

  26 Nov 2014; Michael Orlitzky <mjo@gentoo.org>
  +nagios-plugins-2.0.3-r1.ebuild:
  Revbump to fix bug #468296 and bug #481926.

I left the previous ebuild there so that people can still build it if this one's broken.