Project

General

Profile

Actions

Feature #9745

open

Introduce rubygem-net-ping dependency

Added by Lukas Zapletal about 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Low
Category:
Packaging
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Lukas Zapletal about 9 years ago

  • Category set to Packaging
Actions #2

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

Actions #3

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.

http://blog.siphos.be/2013/05/capabilities-a-short-intro/

Actions

Also available in: Atom PDF