| Summary: | SELinux is preventing /usr/sbin/vpnc from read, write access on the unix_stream_socket unix_stream_socket. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stephen Gallagher <sgallagh> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 15 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:d1ea97e31c20f7982a1fd1f8e4e25bff5365964fddf0855219fa708c22cb2072 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-21 17:02:52 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 think this is fixed in the current release. |
SELinux is preventing /usr/sbin/vpnc from read, write access on the unix_stream_socket unix_stream_socket. ***** Plugin catchall (50.5 confidence) suggests *************************** If you believe that vpnc should be allowed read write access on the unix_stream_socket unix_stream_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 vpnc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp ***** Plugin leaks (50.5 confidence) suggests ****************************** If you want to ignore vpnc trying to read write access the unix_stream_socket unix_stream_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 /usr/sbin/vpnc /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:vpnc_t:s0 Target Context system_u:system_r:init_t:s0 Target Objects unix_stream_socket [ unix_stream_socket ] Source vpnc Source Path /usr/sbin/vpnc Port <Unknown> Host (removed) Source RPM Packages vpnc-0.5.3-12.svn457.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-35.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.40-4.fc15.x86_64 #1 SMP Fri Jul 29 18:46:53 UTC 2011 x86_64 x86_64 Alert Count 3 First Seen Thu 04 Aug 2011 08:23:48 AM EDT Last Seen Mon 08 Aug 2011 07:21:09 AM EDT Local ID 894c39a9-3693-4433-abd4-648a97dc2d2c Raw Audit Messages type=AVC msg=audit(1312802469.357:64): avc: denied { read write } for pid=2070 comm="vpnc" path="socket:[14766]" dev=sockfs ino=14766 scontext=system_u:system_r:vpnc_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket type=SYSCALL msg=audit(1312802469.357:64): arch=x86_64 syscall=execve success=yes exit=0 a0=40393f a1=1ed3c20 a2=7fff3c471608 a3=0 items=0 ppid=2065 pid=2070 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=vpnc exe=/usr/sbin/vpnc subj=system_u:system_r:vpnc_t:s0 key=(null) Hash: vpnc,vpnc_t,init_t,unix_stream_socket,read,write audit2allow #============= vpnc_t ============== allow vpnc_t init_t:unix_stream_socket { read write }; audit2allow -R #============= vpnc_t ============== allow vpnc_t init_t:unix_stream_socket { read write };