| Summary: | SELinux is preventing /usr/sbin/pcscd from using the 'sys_admin' capabilities. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | graf.drakul |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:2ccc7a4da18c02f64a0b959d0a14a589f2e9169e9058290690c4abf989f2f3f7 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-21 16:47:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
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 |
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;