Feature #9745
openIntroduce rubygem-net-ping dependency
Description
Rubygem net-ping no longer depends on LDAP. It's in Fedora from version 19 and it is the only dependency to get our TCP/ICMP code faster and cleaner. We only need to build it in our SCLs as the only package.
If there are no objections, I can prepare the patch and package.
Updated by Lukas Zapletal about 9 years ago
As part of this effort, set service_check to false for TCP ping. Discussion is here: https://github.com/theforeman/smart-proxy/pull/266
Updated by Lukas Zapletal about 9 years ago
Just for the record, Ohad had important note on the scrum today. ICMP ping needs root, so smart-proxy would need it too. But on Linux, it is possible to use Capabilities for that. These do exist in both RHEL6 and RHEL7 and Debians looks fine too (we need to test tho).
The change is to set the capability via packages in a post script. As a fallback method, we can still use the ping external fork.