Bug 660147

Summary: avc: smartcard token login (openct)
Product: [Fedora] Fedora Reporter: Mr-4 <mr.dash.four>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: domg444, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: selinux-policy-3.7.19-76.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-17 08:43:21 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 Mr-4 2010-12-05 21:03:05 UTC
Description of problem:
see http://lists.fedoraproject.org/pipermail/selinux/2010-December/013274.html for details.

Version-Release number of selected component (if applicable):
FC13, the latest policy loaded (-73)

How reproducible:
Always, provided OpenCT is used on its own without PSCS or anything else (just vanilla OpenCT)

Steps to Reproduce:
  
Actual results:


Expected results:


Additional info:
See http://lists.fedoraproject.org/pipermail/selinux/2010-December/013292.html and http://lists.fedoraproject.org/pipermail/selinux/2010-December/013294.html for how it might be fixed

Comment 1 Miroslav Grepl 2010-12-06 16:23:41 UTC
Looks like something which should be added to 

auth_domtrans_chk_passwd() after

    optional_policy(`
        pcscd_manage_pub_files($1)
        pcscd_manage_pub_pipes($1)
        pcscd_stream_connect($1)
    ')

Comment 2 Dominick Grift 2010-12-06 17:14:42 UTC
Hmm good point. I saw your comment right after i committed this:

http://git.fedorahosted.org/git/?p=selinux-policy.git;a=commitdiff;h=afc9bf6c38c9eaafde0318927cc158f4f663f74d

Feel free to move it to auth_domtrans_chk_passwd if you are of the opinion that this is more appropriate.

Comment 3 Miroslav Grepl 2010-12-06 17:43:15 UTC
No problem. Thanks for the fix.

Comment 4 Miroslav Grepl 2010-12-06 17:51:46 UTC
Fixed in selinux-policy-3.7.19-75.fc13

Comment 5 Fedora Update System 2010-12-10 13:48:33 UTC
selinux-policy-3.7.19-76.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-76.fc13

Comment 6 Fedora Update System 2010-12-10 20:30:04 UTC
selinux-policy-3.7.19-76.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-76.fc13

Comment 7 Fedora Update System 2010-12-17 08:42:44 UTC
selinux-policy-3.7.19-76.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.