Bug 651716 - SELinux is preventing /usr/libexec/nm-openvpn-service "search" access on /etc/openvpn.
Summary: SELinux is preventing /usr/libexec/nm-openvpn-service "search" access on...
Keywords:
Status: CLOSED DUPLICATE of bug 648260
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:53a1c6f06df...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-10 07:23 UTC by trevor
Modified: 2010-11-10 09:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 09:08:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description trevor 2010-11-10 07:23:04 UTC
Summary:

SELinux is preventing /usr/libexec/nm-openvpn-service "search" access on
/etc/openvpn.

Detailed Description:

SELinux denied access requested by nm-openvpn-serv. It is not expected that this
access is required by nm-openvpn-serv and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:NetworkManager_t:s0
Target Context                system_u:object_r:openvpn_etc_t:s0
Target Objects                /etc/openvpn [ dir ]
Source                        nm-openvpn-serv
Source Path                   /usr/libexec/nm-openvpn-service
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           NetworkManager-openvpn-0.8.1-1.fc14
Target RPM Packages           openvpn-2.1.1-2.fc13
Policy RPM                    selinux-policy-3.9.7-7.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.6-48.fc14.i686
                              #1 SMP Fri Oct 22 15:34:36 UTC 2010 i686 i686
Alert Count                   12
First Seen                    Tue 09 Nov 2010 18:49:28 EST
Last Seen                     Wed 10 Nov 2010 18:21:23 EST
Local ID                      d0935daa-c86f-4e7c-9466-30afabf73910
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1289373683.142:19): avc:  denied  { search } for  pid=2154 comm="nm-openvpn-serv" name="openvpn" dev=dm-0 ino=22122 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:openvpn_etc_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1289373683.142:19): arch=40000003 syscall=5 success=no exit=-13 a0=97c9f70 a1=8000 a2=0 a3=0 items=0 ppid=1376 pid=2154 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 String generated from  catchall,nm-openvpn-serv,NetworkManager_t,openvpn_etc_t,dir,search
audit2allow suggests:

#============= NetworkManager_t ==============
allow NetworkManager_t openvpn_etc_t:dir search;

Comment 1 Miroslav Grepl 2010-11-10 09:08:57 UTC

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


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