Description of problem: upgrade to fedora28 (worked in 27) and try to connect to openconnect VPN SELinux is preventing openconnect from 'search' accesses on the directory /sys/kernel/config. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that openconnect should be allowed search access on the config 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: # ausearch -c 'openconnect' --raw | audit2allow -M my-openconnect # semodule -X 300 -i my-openconnect.pp Additional Information: Source Context staff_u:sysadm_r:vpnc_t:s0-s0:c0.c1023 Target Context system_u:object_r:configfs_t:s0 Target Objects /sys/kernel/config [ dir ] Source openconnect Source Path openconnect Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.1-29.fc28.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.16.11-300.fc28.x86_64 #1 SMP Tue May 22 18:29:09 UTC 2018 x86_64 x86_64 Alert Count 2 First Seen 2018-05-28 18:34:01 AEST Last Seen 2018-05-28 18:34:01 AEST Local ID 257de4c8-3b9f-4bae-a02b-0be3cf1b2350 Raw Audit Messages type=AVC msg=audit(1527496441.461:853): avc: denied { search } for pid=20258 comm="openconnect" name="/" dev="configfs" ino=3462 scontext=staff_u:sysadm_r:vpnc_t:s0-s0:c0.c1023 tcontext=system_u:object_r:configfs_t:s0 tclass=dir permissive=0 Hash: openconnect,vpnc_t,configfs_t,dir,search Version-Release number of selected component: selinux-policy-3.14.1-29.fc28.noarch Additional info: component: selinux-policy reporter: libreport-2.9.5 hashmarkername: setroubleshoot kernel: 4.16.11-300.fc28.x86_64 type: libreport
selinux-policy-3.14.1-32.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-743a9247de
selinux-policy-3.14.1-32.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-743a9247de
selinux-policy-3.14.1-32.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.