Bug 250588 - Build hangs in network tests
Summary: Build hangs in network tests
Alias: None
Product: Fedora
Classification: Fedora
Component: nagios-plugins   
(Show other bugs)
Version: 7
Hardware: All Linux
Target Milestone: ---
Assignee: Mike McGrath
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-08-02 11:06 UTC by Enrico Scholz
Modified: 2008-04-09 19:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-04-09 19:17:10 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Enrico Scholz 2007-08-02 11:06:33 UTC
Description of problem:

nagios-plugins buildprocess executes

| /bin/ping -n 1 | egrep -i ^round-trip|^rtt

during %configure and 'make'. Fedora's 'ping' does not have an argument for -n
and command hangs with

| # ping -n 1
| PING 1 ( 56(124) bytes of data.
|         ~~~~~~~
| ... C-c ...
| --- 1 ping statistics ---
| 919 packets transmitted, 0 received, 100% packet loss, time 918037ms

In a restrictive environment like a buildsystem, such network access is
prohibited. When packets will be dropped, this command stays forever.

Beside this, builds should not make network tests.

Version-Release number of selected component (if applicable):


How reproducible:


Comment 1 Dennis Gilmore 2007-08-02 18:15:22 UTC
Indeed the buildsystem makes no guarantee of network being available.  it should
be assumed that it is not.

Comment 2 Mike McGrath 2008-04-09 19:17:10 UTC
Ok, this is fixed.  I've got a patch ready I'll try to send it upstream.  Let me
know if this is an acceptable fix. 

Basically it tries the network and if it fails, it fails and doesn't affect the
package (basically I added a -w 5 to the pings it tries)

if thats not acceptable please re-open the ticket and I'll re-think the patch

Note You need to log in before you can comment on or make changes to this bug.