Bug 238310

Summary: removing usb modules makes pcscd go nuts logging avc's.
Product: [Fedora] Fedora Reporter: Dave Jones <davej>
Component: selinux-policy-targetedAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Current Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-22 14:14:48 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 Dave Jones 2007-04-29 04:25:48 UTC
pcscd does its own monitoring for insertion of USB devices (instead of using
udev/hal).  Doing rmmod ehci_hcd ohci_hcd uhci_hcd results in it trying to send
signals, which selinux disallows.

setroubleshoot displays..

SELinux is preventing /usr/sbin/pcscd (pcscd_t) "signal" to (pcscd_t).
avc: denied { signal } for comm="pcscd" egid=0 euid=0 exe="/usr/sbin/pcscd"
exit=-13 fsgid=0 fsuid=0 gid=0 items=0 pid=2741
scontext=system_u:system_r:pcscd_t:s0 sgid=0 subj=system_u:system_r:pcscd_t:s0
suid=0 tclass=process tcontext=system_u:system_r:pcscd_t:s0 tty=(none) uid=0

Comment 1 Daniel Walsh 2007-04-30 12:23:42 UTC
Fixed in selinux-policy-2.6.1-4.fc7

Comment 2 Daniel Walsh 2007-08-22 14:14:48 UTC
Should be fixed in the current release