| Summary: | SELinux is preventing /sbin/consoletype from read, write access on the netlink_route_socket netlink_route_socket. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Maxwell Bottiger <sleepylight> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:2ba6a399714c2183cd4a21d2a4f1b9a1c5c3908c83362558a3056ec98569ee13 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-26 20:41:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This is a leaked file descriptor, what tool were you running when you got this AVC? |
SELinux is preventing /sbin/consoletype from read, write access on the netlink_route_socket netlink_route_socket. ***** Plugin catchall (50.5 confidence) suggests *************************** If you believe that consoletype should be allowed read write access on the netlink_route_socket netlink_route_socket 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 /sbin/consoletype /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp ***** Plugin leaks (50.5 confidence) suggests ****************************** If you want to ignore consoletype trying to read write access the netlink_route_socket netlink_route_socket, because you believe it should not need this access. Then you should report this as a bug. You can generate a local policy module to dontaudit this access. Do # grep /sbin/consoletype /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:system_r:consoletype_t:s0-s0:c0.c1023 Target Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 023 Target Objects netlink_route_socket [ netlink_route_socket ] Source consoletype Source Path /sbin/consoletype Port <Unknown> Host (removed) Source RPM Packages initscripts-9.20.1-1.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-19.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 Alert Count 5 First Seen Tue 11 Jan 2011 04:29:53 PM EST Last Seen Wed 12 Jan 2011 11:26:06 AM EST Local ID cd92bb17-b055-46eb-a0f3-9fe200d8b801 Raw Audit Messages type=AVC msg=audit(1294849566.236:35724): avc: denied { read write } for pid=27554 comm="consoletype" path="socket:[28359]" dev=sockfs ino=28359 scontext=unconfined_u:system_r:consoletype_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=netlink_route_socket consoletype,consoletype_t,unconfined_t,netlink_route_socket,read,write type=SYSCALL msg=audit(1294849566.236:35724): arch=x86_64 syscall=execve success=yes exit=0 a0=181c480 a1=181c4a0 a2=181c0c0 a3=8 items=0 ppid=27553 pid=27554 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=1 comm=consoletype exe=/sbin/consoletype subj=unconfined_u:system_r:consoletype_t:s0-s0:c0.c1023 key=(null) consoletype,consoletype_t,unconfined_t,netlink_route_socket,read,write #============= consoletype_t ============== allow consoletype_t unconfined_t:netlink_route_socket { read write };