Bug 1416087 - [RFE] clockdiff, arping, ping, ping6 use File Capabilities
Summary: [RFE] clockdiff, arping, ping, ping6 use File Capabilities
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: iputils
Version: 6.9
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Jan Synacek
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-24 14:52 UTC by Pat Riehecky
Modified: 2017-01-25 07:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-25 07:10:13 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Pat Riehecky 2017-01-24 14:52:26 UTC
Description of problem:
Can clockdiff, ping, ping6 be packaged to utilize File Capabilities rather than SUID for their network operations.

Version-Release number of selected component (if applicable):iputils-20071127-21.el6


How reproducible:100%


Steps to Reproduce:
1.arping and clockdiff ship without non-root access on RHEL6 (File Cap used in RHEL7)
2.ping and ping6 are setuid
3.

Actual results:
setuid ping/ping6, non-root can run commands under RHEL7 that are not permitted in RHEL6

Expected results:
Use of File Capabilities rather than SUID.

%attr(0755,root,root) %caps(cap_net_raw=p) %{_sbindir}/clockdiff
%attr(0755,root,root) %caps(cap_net_raw=p) %{_sbindir}/arping
%attr(0755,root,root) %caps(cap_net_raw=p cap_net_admin=p) %{_bindir}/ping

Additional info:
https://fedoraproject.org/wiki/Features/RemoveSETUID

Comment 1 Jan Synacek 2017-01-25 07:10:13 UTC
RHEL6 is in production phase 2 now (https://access.redhat.com/support/policy/updates/errata/), it's too late for such change. Sorry.


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