Bug 797257 - SELinux is preventing /usr/sbin/sssd from using the sys_admin capability.
Summary: SELinux is preventing /usr/sbin/sssd from using the sys_admin capability.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 17:21 UTC by Vinit Khandagle
Modified: 2012-02-27 09:30 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 18:57:06 UTC
Type: ---


Attachments (Terms of Use)

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


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