Bug 509858 - SELinux is preventing openvpn (openvpn_t) "read" security_t.
SELinux is preventing openvpn (openvpn_t) "read" security_t.
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
11
i386 Linux
low Severity low
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-06 11:04 EDT by William Washco
Modified: 2009-07-06 16:54 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-07-06 14:33:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description William Washco 2009-07-06 11:04:05 EDT
Description of problem:
SELinux is preventing openvpn (openvpn_t) "read" security_t. 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. make an ovpn connection in network manager
2. connect to openvpn connection
3. see selinux denial
  
Actual results:
node=localhost.localdomain type=AVC msg=audit(1246854585.761:95): avc: denied { read } for pid=8865 comm="openvpn" name="mls" dev=selinuxfs ino=12 scontext=system_u:system_r:openvpn_t:s0 tcontext=system_u:object_r:security_t:s0 tclass=file node=localhost.localdomain type=SYSCALL msg=audit(1246854585.761:95): arch=40000003 syscall=5 success=no exit=-13 a0=bfa52e08 a1=8000 a2=0 a3=bfa52e08 items=0 ppid=8789 pid=8865 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="openvpn" exe="/usr/sbin/openvpn" subj=system_u:system_r:openvpn_t:s0 key=(null) 

Expected results:
openvpn connecting without bothering selinux

Additional info:
Source Context:  system_u:system_r:openvpn_t:s0
Target Context:  system_u:object_r:security_t:s0
Target Objects:  mls [ file ]
Source:  openvpn
Source Path:  /usr/sbin/openvpn
Port:  <Unknown>
Host:  localhost.localdomain
Source RPM Packages:  openvpn-2.1-0.32.rc15.fc11
Target RPM Packages:  
Policy RPM:  selinux-policy-3.6.12-53.fc11
Selinux Enabled:  True
Policy Type:  targeted
MLS Enabled:  True
Enforcing Mode:  Enforcing
Plugin Name:  catchall
Host Name:  localhost.localdomain
Platform:  Linux localhost.localdomain 2.6.29.5-191.fc11.i586 #1 SMP Tue Jun 16 23:11:39 EDT 2009 i686 i686
Comment 1 Daniel Walsh 2009-07-06 14:33:20 EDT
Fixed in selinux-policy-3.6.12-57.fc11.noarch
Comment 2 William Washco 2009-07-06 16:43:40 EDT
No package selinux-policy-3.6.12-57.fc11.noarch available at this time. Rawhide has selinux-policy-3.6.20-2.fc12, but that has the same issue.

Source Context:  system_u:system_r:openvpn_t:s0
Target Context:  system_u:object_r:security_t:s0
Target Objects:  mls [ file ]
Source:  openvpn
Source Path:  /usr/sbin/openvpn
Port:  <Unknown>
Host:  localhost.localdomain
Source RPM Packages:  openvpn-2.1-0.32.rc15.fc11
Target RPM Packages:  
Policy RPM:  selinux-policy-3.6.20-2.fc12
Selinux Enabled:  True
Policy Type:  targeted
MLS Enabled:  True
Enforcing Mode:  Enforcing
Plugin Name:  catchall
Host Name:  localhost.localdomain
Platform:  Linux localhost.localdomain 2.6.29.5-191.fc11.i586 #1 SMP Tue Jun 16 23:11:39 EDT 2009 i686 i686

node=localhost.localdomain type=AVC msg=audit(1246912677.467:33): avc: denied { read } for pid=2529 comm="openvpn" name="mls" dev=selinuxfs ino=12 scontext=system_u:system_r:openvpn_t:s0 tcontext=system_u:object_r:security_t:s0 tclass=file

node=localhost.localdomain type=SYSCALL msg=audit(1246912677.467:33): arch=40000003 syscall=5 success=no exit=-13 a0=bfd3c988 a1=8000 a2=0 a3=bfd3c988 items=0 ppid=2521 pid=2529 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="openvpn" exe="/usr/sbin/openvpn" subj=system_u:system_r:openvpn_t:s0 key=(null)
Comment 3 Daniel Walsh 2009-07-06 16:54:23 EDT
yum upgrade selinux-policy-targeted --enablerepo=updates-testing

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