Bug 876363

Summary: SSSD allows SELinux context for user to be set, however SELinux tools are not updated to reflect this.
Product: [Fedora] Fedora Reporter: Erinn Looney-Triggs <erinn.looneytriggs>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 18CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 887193 (view as bug list) Environment:
Last Closed: 2012-11-23 07:54:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Erinn Looney-Triggs 2012-11-13 22:52:26 UTC
We spent some good time this morning trying to chase down why my user in Fedora was a guest_u. It turns out this was a combination of IPA and SSSD working as they ought to. However, it was very unclear while trying to debug this that this was the case. 

Tools like:

selinuxdefcon
semanage login -l

Did not reflect the reality of the situation as they are all presumably based off of the config present in the filesystem. 

You can get a nice overview of what we went through here:
http://lists.fedoraproject.org/pipermail/selinux/2012-November/014925.html

Read the whole thread, you will see what we worked through.

-Erinn

Comment 1 Daniel Walsh 2012-11-14 19:50:40 UTC
Fixed in policycoreutils-2.1.13-33

Comment 2 Fedora Update System 2012-11-14 19:51:08 UTC
policycoreutils-2.1.13-33.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/policycoreutils-2.1.13-33.fc18

Comment 3 Fedora Update System 2012-11-15 06:29:35 UTC
Package policycoreutils-2.1.13-33.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.13-33.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18259/policycoreutils-2.1.13-33.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-11-17 02:25:45 UTC
Package policycoreutils-2.1.13-34.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.13-34.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18259/policycoreutils-2.1.13-34.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-11-23 07:54:59 UTC
policycoreutils-2.1.13-34.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.