| Summary: | SELinux is preventing /usr/sbin/tcsd from 'read' accesses on the file utmp. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | William Brown <william> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dominick.grift, dwalsh, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:d23b995738566518ad64c6de15e8f980b061a14062ad4262ea6b07ce0b726f5a | ||
| Fixed In Version: | selinux-policy-3.12.1-74.4.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-23 00:33:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
fixed selinux-policy-3.12.1-74.4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-74.4.fc19 Package selinux-policy-3.12.1-74.4.fc19: * should fix your issue, * was pushed to the Fedora 19 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.12.1-74.4.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-17007/selinux-policy-3.12.1-74.4.fc19 then log in and leave karma (feedback). selinux-policy-3.12.1-74.4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Attempting to enable physical presence via tpm tools. tpm_setpresence --assert SELinux is preventing /usr/sbin/tcsd from 'read' accesses on the file utmp. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that tcsd should be allowed read access on the utmp file 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 tcsd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:tcsd_t:s0 Target Context system_u:object_r:initrc_var_run_t:s0 Target Objects utmp [ file ] Source tcsd Source Path /usr/sbin/tcsd Port <Unknown> Host (removed) Source RPM Packages trousers-0.3.10-3.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-74.1.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.10.10-200.fc19.x86_64 #1 SMP Thu Aug 29 19:05:45 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-09-12 10:47:37 CST Last Seen 2013-09-12 10:47:37 CST Local ID 7029da83-7be6-4108-997b-2841f5654d3b Raw Audit Messages type=AVC msg=audit(1378948657.808:448): avc: denied { read } for pid=2438 comm="tcsd" name="utmp" dev="tmpfs" ino=14261 scontext=system_u:system_r:tcsd_t:s0 tcontext=system_u:object_r:initrc_var_run_t:s0 tclass=file type=SYSCALL msg=audit(1378948657.808:448): arch=x86_64 syscall=open success=no exit=EACCES a0=7fd54c5da8c4 a1=80000 a2=7fd54c5da8b5 a3=7fd5440013c0 items=0 ppid=1 pid=2438 auid=4294967295 uid=59 gid=0 euid=59 suid=59 fsuid=59 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=tcsd exe=/usr/sbin/tcsd subj=system_u:system_r:tcsd_t:s0 key=(null) Hash: tcsd,tcsd_t,initrc_var_run_t,file,read Additional info: reporter: libreport-2.1.6 hashmarkername: setroubleshoot kernel: 3.10.10-200.fc19.x86_64 type: libreport