Bug 2342778
| Summary: | SELinux is preventing snapperd from 'execute_no_trans' accesses on the file /usr/bin/systemctl. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sanjarbek Ismatov <ismatovsanjarbek> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 41 | CC: | dwalsh, ismatovsanjarbek, jack, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:8bb86420252a12d4a5a716b89a2bbac89d2c06ae37b079e235f1ac5379793af7;VARIANT_ID=cinnamon; | ||||||||
| Fixed In Version: | selinux-policy-41.31-1.fc41 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-02-03 01:19:02 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 2074325 [details]
File: description
Created attachment 2074326 [details]
File: os_info
FEDORA-2025-62c612355c (selinux-policy-41.31-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-62c612355c FEDORA-2025-62c612355c has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-62c612355c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-62c612355c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-62c612355c (selinux-policy-41.31-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. *** Bug 2328525 has been marked as a duplicate of this bug. *** |
Description of problem: SELinux is preventing snapperd from 'execute_no_trans' accesses on the file /usr/bin/systemctl. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that snapperd should be allowed execute_no_trans access on the systemctl 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 'snapperd' --raw | audit2allow -M my-snapperd # semodule -X 300 -i my-snapperd.pp Additional Information: Source Context system_u:system_r:snapperd_t:s0 Target Context system_u:object_r:systemd_systemctl_exec_t:s0 Target Objects /usr/bin/systemctl [ file ] Source snapperd Source Path snapperd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages systemd-256.11-1.fc41.x86_64 SELinux Policy RPM selinux-policy-targeted-41.28-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.28-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.12.10-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jan 17 18:05:24 UTC 2025 x86_64 Alert Count 2 First Seen 2025-01-29 16:56:16 +05 Last Seen 2025-01-29 16:56:18 +05 Local ID 6f27a4b5-cf76-4baa-8437-d72408ce0e85 Raw Audit Messages type=AVC msg=audit(1738151778.369:679): avc: denied { execute_no_trans } for pid=5390 comm="snapperd" path="/usr/bin/systemctl" dev="nvme0n1p7" ino=368840 scontext=system_u:system_r:snapperd_t:s0 tcontext=system_u:object_r:systemd_systemctl_exec_t:s0 tclass=file permissive=0 Hash: snapperd,snapperd_t,systemd_systemctl_exec_t,file,execute_no_trans Version-Release number of selected component: selinux-policy-targeted-41.28-1.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing snapperd from 'execute_no_trans' accesses on the file /usr/bin/systemctl. package: selinux-policy-targeted-41.28-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.12.10-200.fc41.x86_64 component: selinux-policy