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 1164186 - SELinux is preventing openvpn from 'search' accesses on the directory NetworkManager.
Summary: SELinux is preventing openvpn from 'search' accesses on the directory Network...
Keywords:
Status: CLOSED DUPLICATE of bug 1164182
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:b68793a453f31430f54477f4153...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-14 09:53 UTC by Tim Waugh
Modified: 2014-11-14 11:50 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Tim Waugh 2014-11-14 09:53:13 UTC
Description of problem:
Trying to connect to already-configured VPN after updates.
SELinux is preventing openvpn from 'search' accesses on the directory NetworkManager.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that openvpn should be allowed search access on the NetworkManager directory 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 openvpn /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:openvpn_t:s0
Target Context                system_u:object_r:NetworkManager_var_run_t:s0
Target Objects                NetworkManager [ dir ]
Source                        openvpn
Source Path                   openvpn
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-92.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.17.2-300.fc21.x86_64 #1 SMP Thu
                              Oct 30 19:23:48 UTC 2014 x86_64 x86_64
Alert Count                   4
First Seen                    2014-11-14 09:50:42 GMT
Last Seen                     2014-11-14 09:51:14 GMT
Local ID                      87286f06-1c90-4e9a-8b08-0700c8f3a2f1

Raw Audit Messages
type=AVC msg=audit(1415958674.161:467): avc:  denied  { search } for  pid=2977 comm="openvpn" name="NetworkManager" dev="tmpfs" ino=21263 scontext=system_u:system_r:openvpn_t:s0 tcontext=system_u:object_r:NetworkManager_var_run_t:s0 tclass=dir permissive=0


Hash: openvpn,openvpn_t,NetworkManager_var_run_t,dir,search

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.2-300.fc21.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2014-11-14 11:50:47 UTC

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


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