| Summary: | SELinux is preventing /usr/bin/python from using the 'sys_tty_config' capabilities. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nikita Bige <bignikita> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, jcmj, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:e3fe5eddd025a8f22c12fcd5839147970b81bf3bcf8c9b3d526f14930990139a | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-10 08:55:04 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I would dontaudit this. No idea what it is doing, Fixed in selinux-policy-3.9.16-43.fc15. |
SELinux is preventing /usr/bin/python from using the 'sys_tty_config' capabilities. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that python should have the sys_tty_config 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 fail2ban-client /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:fail2ban_client_t:s0 Target Context system_u:system_r:fail2ban_client_t:s0 Target Objects Unknown [ capability ] Source fail2ban-client Source Path /usr/bin/python Port <Unknown> Host (removed) Source RPM Packages python-2.7.1-7.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-39.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30 14:38:32 UTC 2011 x86_64 x86_64 Alert Count 2 First Seen Thu 06 Oct 2011 10:27:11 AM MSK Last Seen Thu 06 Oct 2011 10:29:00 AM MSK Local ID 0873f738-8f7f-4657-9b07-c8f274c40077 Raw Audit Messages type=AVC msg=audit(1317886140.959:42): avc: denied { sys_tty_config } for pid=1939 comm="fail2ban-client" capability=26 scontext=system_u:system_r:fail2ban_client_t:s0 tcontext=system_u:system_r:fail2ban_client_t:s0 tclass=capability type=SYSCALL msg=audit(1317886140.959:42): arch=x86_64 syscall=ioctl success=yes exit=0 a0=2 a1=5401 a2=7fffd21704c8 a3=3f5279422c items=0 ppid=1932 pid=1939 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=fail2ban-client exe=/usr/bin/python subj=system_u:system_r:fail2ban_client_t:s0 key=(null) Hash: fail2ban-client,fail2ban_client_t,fail2ban_client_t,capability,sys_tty_config audit2allow #============= fail2ban_client_t ============== allow fail2ban_client_t self:capability sys_tty_config; audit2allow -R #============= fail2ban_client_t ============== allow fail2ban_client_t self:capability sys_tty_config;