Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1064169 - SELinux is preventing /usr/sbin/pcscd from 'search' accesses on the directory .
Summary: SELinux is preventing /usr/sbin/pcscd from 'search' accesses on the directory .
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:c5d1861a0f67ad4a8d0afaf020f...
Depends On:
TreeView+ depends on / blocked
Reported: 2014-02-12 07:40 UTC by Nicolas Mailhot
Modified: 2014-02-16 10:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2014-02-14 17:38:00 UTC

Attachments (Terms of Use)

Description Nicolas Mailhot 2014-02-12 07:40:17 UTC
Description of problem:
SELinux is preventing /usr/sbin/pcscd from 'search' accesses on the directory .

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

If vous pensez que pcscd devrait être autorisé à accéder search sur  directory par défaut.
Then vous devriez rapporter ceci en tant qu'anomalie.
Vous pouvez générer un module de stratégie local pour autoriser cet accès.
autoriser cet accès pour le moment en exécutant :
# grep pcscd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:pcscd_t:s0
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
Target Objects                 [ dir ]
Source                        pcscd
Source Path                   /usr/sbin/pcscd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           pcsc-lite-1.8.10-2.fc21.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-22.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.14.0-0.rc2.git0.1.fc21.x86_64 #1
                              SMP Mon Feb 10 23:27:25 UTC 2014 x86_64 x86_64
Alert Count                   10
First Seen                    2014-02-11 21:14:29 CET
Last Seen                     2014-02-12 01:04:42 CET
Local ID                      1df024a8-c661-475a-b0ad-f7659aa27a10

Raw Audit Messages
type=AVC msg=audit(1392163482.52:818): avc:  denied  { search } for  pid=8016 comm="pcscd" name="8011" dev="proc" ino=979634 scontext=system_u:system_r:pcscd_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=dir

type=SYSCALL msg=audit(1392163482.52:818): arch=x86_64 syscall=open success=no exit=EACCES a0=7fde40019170 a1=0 a2=7fde4e3c7658 a3=7fde4e3c7310 items=0 ppid=1 pid=8016 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=pcscd exe=/usr/sbin/pcscd subj=system_u:system_r:pcscd_t:s0 key=(null)

Hash: pcscd,pcscd_t,unconfined_t,dir,search

Additional info:
reporter:       libreport-2.1.12
hashmarkername: setroubleshoot
kernel:         3.14.0-0.rc2.git0.1.fc21.x86_64
type:           libreport

Comment 1 Daniel Walsh 2014-02-14 17:38:00 UTC
Fixed in selinux-policy-3.13.1-25.fc21.noarch

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