Bug 2250936
| Summary: | SELinux is preventing systemd from 'setopt' accesses on the netlink_netfilter_socket labeled init_t. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> | ||||||
| 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: | rawhide | CC: | dwalsh, lvrabec, mikhail.v.gavrilov, mmalik, nknazeko, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:1d16dd0acea6d0acca7006f1e846cb6225f3ab43029da225aa2ce4e2d15b8601;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2023-11-22 07:49:18 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 2000759 [details]
File: description
Created attachment 2000760 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2250935 *** |
Description of problem: Update systemd from 254.5-2.fc40 to 255~rc2-1.fc40 version SELinux is preventing systemd from 'setopt' accesses on the netlink_netfilter_socket labeled init_t. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that systemd should be allowed setopt access on netlink_netfilter_socket labeled init_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 'systemd' --raw | audit2allow -M my-systemd # semodule -X 300 -i my-systemd.pp Additional Information: Source Context system_u:system_r:init_t:s0 Target Context system_u:system_r:init_t:s0 Target Objects Unknown [ netlink_netfilter_socket ] Source systemd Source Path systemd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-40.5-1.fc40.noarch Local Policy RPM selinux-policy-targeted-40.5-1.fc40.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.7.0-0.rc2.22.fc40.x86_64+debug #1 SMP PREEMPT_DYNAMIC Mon Nov 20 14:05:16 UTC 2023 x86_64 Alert Count 1 First Seen 2023-11-22 01:55:16 +05 Last Seen 2023-11-22 01:55:16 +05 Local ID a4008c08-eec1-4fef-a92f-fe186f4b1f4a Raw Audit Messages type=AVC msg=audit(1700600116.340:1436): avc: denied { setopt } for pid=1 comm="systemd" scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:init_t:s0 tclass=netlink_netfilter_socket permissive=1 Hash: systemd,init_t,init_t,netlink_netfilter_socket,setopt Version-Release number of selected component: selinux-policy-targeted-40.5-1.fc40.noarch Additional info: reporter: libreport-2.17.11 reason: SELinux is preventing systemd from 'setopt' accesses on the netlink_netfilter_socket labeled init_t. package: selinux-policy-targeted-40.5-1.fc40.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.7.0-0.rc2.22.fc40.x86_64+debug comment: Update systemd from 254.5-2.fc40 to 255~rc2-1.fc40 version component: selinux-policy