Bug 1638949
| Summary: | SELinux is preventing strongswan from using the 'signal' accesses on a process. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mai Ling <mailinglists35> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 29 | CC: | dwalsh, lvrabec, mgrepl, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:c8b9d5e25d5bf087cfeb02b89bbd33839b3d9f874029e5fb8140b05994630a58;VARIANT_ID=workstation; | ||
| Fixed In Version: | selinux-policy-3.14.2-41.fc29 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-11-07 02:42:07 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: | |||
commit 88c91a1aff835234f26bd0696d2b45a53bd6a66e (HEAD -> rawhide, origin/rawhide)
Author: Lukas Vrabec <lvrabec>
Date: Sun Oct 28 20:08:19 2018 +0100
Allow ipsec_mgmt_t process to send signals other than SIGKILL, SIGSTOP, or SIGCHLD to the ipsec_t domains BZ(1638949)
selinux-policy-3.14.2-41.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-506e97bb9b selinux-policy-3.14.2-41.fc29 has been pushed to the Fedora 29 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-506e97bb9b selinux-policy-3.14.2-41.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: "nmcli con up vpn" after running "ausearch -c 'sh' --raw | audit2allow -M my-sh" and "semodule -X 300 -i my-sh.pp" in issue 1638948 SELinux is preventing strongswan from using the 'signal' accesses on a process. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that strongswan should be allowed signal access on processes labeled ipsec_t 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 'strongswan' --raw | audit2allow -M my-strongswan # semodule -X 300 -i my-strongswan.pp Additional Information: Source Context system_u:system_r:ipsec_mgmt_t:s0 Target Context system_u:system_r:ipsec_t:s0 Target Objects Unknown [ process ] Source strongswan Source Path strongswan Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.14.2-37.fc29.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 4.18.13-300.fc29.x86_64 #1 SMP Wed Oct 10 17:22:50 UTC 2018 x86_64 x86_64 Alert Count 2 First Seen 2018-10-13 12:52:08 EEST Last Seen 2018-10-13 12:54:06 EEST Local ID 37c54da6-3821-408b-848e-0ad868ae8a5d Raw Audit Messages type=AVC msg=audit(1539424446.285:659): avc: denied { signal } for pid=12787 comm="strongswan" scontext=system_u:system_r:ipsec_mgmt_t:s0 tcontext=system_u:system_r:ipsec_t:s0 tclass=process permissive=0 Hash: strongswan,ipsec_mgmt_t,ipsec_t,process,signal Version-Release number of selected component: selinux-policy-3.14.2-37.fc29.noarch Additional info: component: selinux-policy reporter: libreport-2.9.6 hashmarkername: setroubleshoot kernel: 4.18.13-300.fc29.x86_64 type: libreport