Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1165575 - SELinux is preventing /usr/libexec/nm-openvpn-service from 'connectto' accesses on the unix_stream_socket /run/NetworkManager/nm-openvpn-70853bdb-58e2-424d-96bc-b16a1f999bb3.
Summary: SELinux is preventing /usr/libexec/nm-openvpn-service from 'connectto' access...
Keywords:
Status: CLOSED DUPLICATE of bug 1165110
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:365f1bb965b359f36040846a1cf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-19 09:14 UTC by Paolo Bonzini
Modified: 2014-11-19 13:50 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-19 13:50:45 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Paolo Bonzini 2014-11-19 09:14:52 UTC
Description of problem:
See also bug 1165572.

SELinux is preventing /usr/libexec/nm-openvpn-service from 'connectto' accesses on the unix_stream_socket /run/NetworkManager/nm-openvpn-70853bdb-58e2-424d-96bc-b16a1f999bb3.

See also bug 1165572.


*****  Plugin catchall (11.6 confidence) suggests   **************************

If you believe that nm-openvpn-service should be allowed connectto access on the nm-openvpn-70853bdb-58e2-424d-96bc-b16a1f999bb3 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 nm-openvpn-serv /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:NetworkManager_t:s0
Target Context                system_u:system_r:openvpn_t:s0
Target Objects                /run/NetworkManager/nm-openvpn-70853bdb-58e2-424d-
                              96bc-b16a1f999bb3 [ unix_stream_socket ]
Source                        nm-openvpn-serv
Source Path                   /usr/libexec/nm-openvpn-service
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           NetworkManager-
                              openvpn-0.9.9.0-3.20141110gitda5fb9b.fc21.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-92.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.17.3-300.fc21.x86_64 #1 SMP Fri
                              Nov 14 23:36:19 UTC 2014 x86_64 x86_64
Alert Count                   9
First Seen                    2014-11-17 10:17:36 CET
Last Seen                     2014-11-19 10:08:09 CET
Local ID                      7e841bb8-c3cf-4cf5-b17d-d8a35d7ee43c

Raw Audit Messages
type=AVC msg=audit(1416388089.677:474): avc:  denied  { connectto } for  pid=6793 comm="nm-openvpn-serv" path="/run/NetworkManager/nm-openvpn-70853bdb-58e2-424d-96bc-b16a1f999bb3" scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:system_r:openvpn_t:s0 tclass=unix_stream_socket permissive=1


type=SYSCALL msg=audit(1416388089.677:474): arch=x86_64 syscall=connect success=yes exit=0 a0=6 a1=7fff959de6a0 a2=6e a3=129 items=0 ppid=1 pid=6793 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=nm-openvpn-serv exe=/usr/libexec/nm-openvpn-service subj=system_u:system_r:NetworkManager_t:s0 key=(null)

Hash: nm-openvpn-serv,NetworkManager_t,openvpn_t,unix_stream_socket,connectto

Version-Release number of selected component:
selinux-policy-3.13.1-92.fc21.noarch

Additional info:
reporter:       libreport-2.3.0
hashmarkername: setroubleshoot
kernel:         3.17.3-300.fc21.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2014-11-19 13:50:45 UTC

*** This bug has been marked as a duplicate of bug 1165110 ***


Note You need to log in before you can comment on or make changes to this bug.