Description of problem: SELinux is preventing openconnect from 'open' accesses on the chr_file /dev/vhost-net. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that openconnect should be allowed open access on the vhost-net 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: # ausearch -c 'openconnect' --raw | audit2allow -M my-openconnect # semodule -X 300 -i my-openconnect.pp Additional Information: Source Context system_u:system_r:vpnc_t:s0 Target Context system_u:object_r:vhost_device_t:s0 Target Objects /dev/vhost-net [ chr_file ] Source openconnect Source Path openconnect Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-38.21-1.fc38.noarch Local Policy RPM selinux-policy-targeted-38.21-1.fc38.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.4.6-200.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 24 20:51:12 UTC 2023 x86_64 Alert Count 11 First Seen 2023-07-14 13:00:04 IDT Last Seen 2023-07-28 20:17:53 IDT Local ID b2162e5a-8bf8-4d05-b1be-bf6b59a0e55a Raw Audit Messages type=AVC msg=audit(1690564673.923:302): avc: denied { open } for pid=5833 comm="openconnect" path="/dev/vhost-net" dev="devtmpfs" ino=509 scontext=system_u:system_r:vpnc_t:s0 tcontext=system_u:object_r:vhost_device_t:s0 tclass=chr_file permissive=0 Hash: openconnect,vpnc_t,vhost_device_t,chr_file,open Version-Release number of selected component: selinux-policy-targeted-38.21-1.fc38.noarch Additional info: reporter: libreport-2.17.11 reason: SELinux is preventing openconnect from 'open' accesses on the chr_file /dev/vhost-net. package: selinux-policy-targeted-38.21-1.fc38.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.4.6-200.fc38.x86_64 component: selinux-policy
Created attachment 1980490 [details] File: description
Created attachment 1980491 [details] File: os_info
*** This bug has been marked as a duplicate of bug 2221507 ***