Description of problem: Trying to establish a VPN connection using NetworkManager-openconnect, and it fails with this SELinux message. Connecting manually with the openconnect command-line client works fine. SELinux is preventing /usr/libexec/nm-openconnect-service from read, write access on the chr_file tun. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that nm-openconnect-service should be allowed read write access on the tun chr_file 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-openconnect- /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:object_r:svirt_image_t:s0:c209,c483 Target Objects tun [ chr_file ] Source nm-openconnect- Source Path /usr/libexec/nm-openconnect-service Port <Unknown> Host (removed) Source RPM Packages NetworkManager-openconnect-0.9.8.4-4.fc21.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-79.fc21.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 3.16.1-301.fc21.x86_64 #1 SMP Mon Aug 25 13:06:39 UTC 2014 x86_64 x86_64 Alert Count 4 First Seen 2014-09-15 11:23:20 EDT Last Seen 2014-09-19 09:56:35 EDT Local ID 3504f530-38ce-4ebb-a2e0-bd4e74c0c3cc Raw Audit Messages type=AVC msg=audit(1411134995.725:8795): avc: denied { read write } for pid=21244 comm="nm-openconnect-" name="tun" dev="devtmpfs" ino=10303 scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:svirt_image_t:s0:c209,c483 tclass=chr_file permissive=0 type=SYSCALL msg=audit(1411134995.725:8795): arch=x86_64 syscall=open success=no exit=EACCES a0=4036f7 a1=2 a2=3e0 a3=121 items=0 ppid=1 pid=21244 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=nm-openconnect- exe=/usr/libexec/nm-openconnect-service subj=system_u:system_r:NetworkManager_t:s0 key=(null) Hash: nm-openconnect-,NetworkManager_t,svirt_image_t,chr_file,read,write Version-Release number of selected component: selinux-policy-3.13.1-79.fc21.noarch Additional info: reporter: libreport-2.2.3 hashmarkername: setroubleshoot kernel: 3.16.1-301.fc21.x86_64 type: libreport
*** This bug has been marked as a duplicate of bug 1147057 ***