Bug 797257

Summary: SELinux is preventing /usr/sbin/sssd from using the sys_admin capability.
Product: [Fedora] Fedora Reporter: Vinit Khandagle <vinit.khandagle>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, grajaiya, jgalipea, mgrepl, sgallagh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 18:57:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vinit Khandagle 2012-02-24 17:21:02 UTC
Description of problem:
Description of the problem: using authconfig to enable sssd  and sssdauth fails.


Version-Release number of selected component (if applicable):
[root@fedora-client shared]# rpm -q sssd
sssd-1.7.93-0.20120224T0153Zgit093acc9.fc16.i686



How reproducible:Always


Steps to Reproduce:
1.Configure sssd.conf
2.authconfig --enablemkhomedir --enablesssd --enablesssdauth --updateall

  
Actual results:
sealert -a /var/log/audit/audit.log
100% donefound 1 alerts in /var/log/audit/audit.log
--------------------------------------------------------------------------------

SELinux is preventing /usr/sbin/sssd from using the sys_admin capability.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that sssd should have the sys_admin capability by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep sssd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp



Expected results:
authconfig should enable sssd and start is successfully.


Additional info:

Comment 1 Daniel Walsh 2012-02-24 18:57:06 UTC
selinux-policy-3.10.0-68.fc16 has this access.

Comment 2 Miroslav Grepl 2012-02-27 09:30:20 UTC
Yes, please update your policy

$ yum update selinux-policy-targeted