Hide Forgot
SELinux is preventing /usr/sbin/pcscd from using the 'sys_admin' capabilities. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that pcscd should have the sys_admin capability 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 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 system_u:system_r:pcscd_t:s0 Target Objects Unknown [ capability ] Source pcscd Source Path /usr/sbin/pcscd Port <Unbekannt> Host (removed) Source RPM Packages pcsc-lite-1.7.2-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-24.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.6-27.fc15.i686 #1 SMP Sun May 15 17:57:13 UTC 2011 i686 i686 Alert Count 8 First Seen Sa 28 Mai 2011 10:47:33 CEST Last Seen Sa 28 Mai 2011 10:47:33 CEST Local ID c9ac3514-a3fc-4c24-a247-3547fc702e96 Raw Audit Messages type=AVC msg=audit(1306572453.835:68): avc: denied { sys_admin } for pid=1429 comm="pcscd" capability=21 scontext=system_u:system_r:pcscd_t:s0 tcontext=system_u:system_r:pcscd_t:s0 tclass=capability type=SYSCALL msg=audit(1306572453.835:68): arch=i386 syscall=read success=yes exit=ENONET a0=3 a1=b6f8e998 a2=1000 a3=b6f8e848 items=0 ppid=1 pid=1429 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,pcscd_t,capability,sys_admin audit2allow #============= pcscd_t ============== allow pcscd_t self:capability sys_admin; audit2allow -R #============= pcscd_t ============== allow pcscd_t self:capability sys_admin;
Can you reproduce this?
Could you try to turn on full auditing # auditctl -w /etc/shadow -p w Recreate AVC and then execute # ausearch -m avc -ts recent