Bug 753588 - SELinux is preventing /usr/sbin/ifdhandler from 'search' accesses on the directorio pcscd.
Summary: SELinux is preventing /usr/sbin/ifdhandler from 'search' accesses on the dire...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5f43aba49157b5e4deccbbdd629...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-13 16:30 UTC by Juan
Modified: 2011-11-21 00:01 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.10.0-56.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-21 00:01:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Juan 2011-11-13 16:30:33 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.0-7.local.fc16.x86_64
reason:         SELinux is preventing /usr/sbin/ifdhandler from 'search' accesses on the directorio pcscd.
time:           Sun Nov 13 17:30:20 2011

description:
:SELinux is preventing /usr/sbin/ifdhandler from 'search' accesses on the directorio pcscd.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that ifdhandler should be allowed search access on the pcscd directory 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 ifdhandler /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:openct_t:s0
:Target Context                system_u:object_r:pcscd_var_run_t:s0
:Target Objects                pcscd [ dir ]
:Source                        ifdhandler
:Source Path                   /usr/sbin/ifdhandler
:Port                          <Desconocido>
:Host                          (removed)
:Source RPM Packages           openct-0.6.20-2.fc15
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-55.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.0-7.local.fc16.x86_64
:                              #1 SMP PREEMPT Sat Nov 12 22:59:29 CET 2011 x86_64
:                              x86_64
:Alert Count                   5
:First Seen                    mié 09 nov 2011 22:28:54 CET
:Last Seen                     sáb 12 nov 2011 23:40:15 CET
:Local ID                      94062b5b-2611-4e11-a4b2-e294cee8ef68
:
:Raw Audit Messages
:type=AVC msg=audit(1321137615.584:55): avc:  denied  { search } for  pid=1792 comm="ifdhandler" name="pcscd" dev=tmpfs ino=12754 scontext=system_u:system_r:openct_t:s0 tcontext=system_u:object_r:pcscd_var_run_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1321137615.584:55): arch=x86_64 syscall=stat success=no exit=EACCES a0=4249fd a1=7fffe3c94810 a2=7fffe3c94810 a3=8 items=0 ppid=1 pid=1792 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=ifdhandler exe=/usr/sbin/ifdhandler subj=system_u:system_r:openct_t:s0 key=(null)
:
:Hash: ifdhandler,openct_t,pcscd_var_run_t,dir,search
:
:audit2allow
:
:#============= openct_t ==============
:allow openct_t pcscd_var_run_t:dir search;
:
:audit2allow -R
:
:#============= openct_t ==============
:allow openct_t pcscd_var_run_t:dir search;
:

Comment 1 Miroslav Grepl 2011-11-14 11:47:35 UTC
Fixed in selinux-policy-3.10.0-56.fc16

Comment 2 Fedora Update System 2011-11-16 15:23:15 UTC
selinux-policy-3.10.0-56.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-56.fc16

Comment 3 Fedora Update System 2011-11-17 23:30:59 UTC
Package selinux-policy-3.10.0-56.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-56.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16003/selinux-policy-3.10.0-56.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-11-21 00:01:08 UTC
selinux-policy-3.10.0-56.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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