Bug 734754
Summary: | SELinux is preventing sssd from using the 'net_admin' capabilities. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeff Layton <jlayton> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 15 | CC: | dominick.grift, dpal, dwalsh, eparis, jhrozek, mgrepl, sbose, sgallagh, ssorce, steved |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:02526f13f9e304aec321b85258f07757f610085dad2cda2ac349b23a17c82fd9 | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-07 19:21:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeff Layton
2011-08-31 11:06:26 UTC
Why does sssd need one of the following? /* Allow interface configuration */ /* Allow administration of IP firewall, masquerading and accounting */ /* Allow setting debug option on sockets */ /* Allow modification of routing tables */ /* Allow setting arbitrary process / process group ownership on sockets */ /* Allow binding to any address for transparent proxying */ /* Allow setting TOS (type of service) */ /* Allow setting promiscuous mode */ /* Allow clearing driver statistics */ /* Allow multicasting */ /* Allow read/write of device-specific registers */ /* Allow activation of ATM control sockets */ /* Allow modification of routing tables */ We're not modifying routing tables, but we do use libnl (netlink) to monitor for changes to the routing table while we're offline (as a mechanism for quickly detecting that we've gone online and to try to reconnect to the identity and auth servers). Could this be causing this SELinux denial? We've been doing this for quite some time, so I'd be surprised if this appeared only recently. What version of SSSD is in use here (and was this problem present on earlier versions)? (In reply to comment #2) > /* Allow modification of routing tables */ > > We're not modifying routing tables, but we do use libnl (netlink) to monitor > for changes to the routing table while we're offline (as a mechanism for > quickly detecting that we've gone online and to try to reconnect to the > identity and auth servers). > Code-wise we are doing the following (simplified): * nl_connect(nlh, NETLINK_ROUTE); * nl_socket_add_membership(nlh, RTNLGRP_LINK); * watch for IFF_LOWER_UP messages I've been meaning to ask you -- we are going to subscribe ourselves into couple other RTNLGRP_* groups in the next upstream release. I've seen a couple SELinux denials when developing the code..how do I report them so they get fixed when the next SSSD version comes out? Eric, Looks like we need to add net_admin for this access. Jakub, best to open a bugzilla in Rawhide and maybe ping me. Will this be going back into RHEL6? Add this allow to F16/Rawhide policy. This message is a notice that Fedora 15 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 15. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '15' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 15 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |