Description of problem: Starting OpenVPN connection via NetworkManager. SELinux is preventing /usr/sbin/openvpn from 'add_name' accesses on the directory nm-openvpn-70853bdb-58e2-424d-96bc-b16a1f999bb3. Possibly the transition from NM context to openvpn context should not have happened? ***** Plugin catchall (100. confidence) suggests ************************** If you believe that openvpn should be allowed add_name access on the nm-openvpn-70853bdb-58e2-424d-96bc-b16a1f999bb3 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 nm-openvpn-70853bdb-58e2-424d-96bc-b16a1f999bb3 [ dir ] Source openvpn Source Path /usr/sbin/openvpn Port <Unknown> Host (removed) Source RPM Packages openvpn-2.3.4-4.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.2-300.fc21.x86_64 #1 SMP Thu Oct 30 19:23:48 UTC 2014 x86_64 x86_64 Alert Count 1 First Seen 2014-11-18 13:20:52 CET Last Seen 2014-11-18 13:20:52 CET Local ID 3e5590a0-dc44-4644-a626-e13a16546009 Raw Audit Messages type=AVC msg=audit(1416313252.873:6482): avc: denied { add_name } for pid=30642 comm="openvpn" name="nm-openvpn-70853bdb-58e2-424d-96bc-b16a1f999bb3" scontext=system_u:system_r:openvpn_t:s0 tcontext=system_u:object_r:NetworkManager_var_run_t:s0 tclass=dir permissive=1 type=SYSCALL msg=audit(1416313252.873:6482): arch=x86_64 syscall=bind success=yes exit=0 a0=4 a1=7fb544d05464 a2=6e a3=21 items=0 ppid=30539 pid=30642 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) Hash: openvpn,openvpn_t,NetworkManager_var_run_t,dir,add_name 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
*** This bug has been marked as a duplicate of bug 1165110 ***