| Summary: | net-misc/netifrc: net/arping.sh can hang forever in the case of NO-CARRIER | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | RumpletonBongworth <kfm> |
| Component: | Current packages | Assignee: | netifrc Team <netifrc> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://bugs.gentoo.org/show_bug.cgi?id=766890 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 766980 | ||
| Bug Blocks: | |||
|
Description
RumpletonBongworth
2021-01-25 01:33:51 UTC
So, the stable version of iputils, which is 20190709, has this bug. Version 20200821 does not. Time for a stabilisation request. Even so, enumerating an entire /16 block in the case that there is no carrier - and with a 5 second delay between each probe - is going to be very unproductive. As previously stated, I'll consider the options once my apipa.sh rewrite has been reviewed. My fear regarding the enumeration of the "entire /16 block" is unfounded. Using iputils-20200821, all that happens in the case of NO-CARRIER is that arping (correctly) times out after 5 seconds, exiting non-zero. Given the revised apipa.sh code, it will simply take that as a cue to select the first address attempted. I don't see a problem with that. In summary, we just need to land everyone on the current version of iputils and it will turn out fine. Stabilisation is done, so all done here? (In reply to Sam James from comment #3) > Stabilisation is done, so all done here? Done and dusted. Thanks. |