Bug 2227315
| Summary: | SELinux is preventing openconnect from 'open' accesses on the chr_file /dev/vhost-net. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nikita Bige <bignikita> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 38 | CC: | bignikita, dwalsh, lvrabec, mmalik, nknazeko, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:99a23871218cbaa2bacdc9a7aa42ebd0da46aba35ac4c8e9ba8ac355dc3d371e;VARIANT_ID=kde; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2023-07-31 08:01:37 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 1980490 [details]
File: description
Created attachment 1980491 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2221507 *** |
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