Bug 2372799
| Summary: | SELinux is preventing bootc-systemd-g from 'search' accesses on the Verzeichnis /var/lib/sss/mc. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | wiese <wwiese> | ||||||
| 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, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, wwiese, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:736e33349e4a2b2e6963c78074b1a4e8ba0764b9e9210b7970b9d0915e3d6aaa;VARIANT_ID=cinnamon; | ||||||||
| Fixed In Version: | selinux-policy-41.44-1.fc41 | Doc Type: | --- | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-07-10 16:29:12 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 2093910 [details]
File: description
Created attachment 2093911 [details]
File: os_info
FEDORA-2025-d3953bee7c (selinux-policy-41.44-1.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-d3953bee7c FEDORA-2025-d3953bee7c 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-d3953bee7c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-d3953bee7c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-d3953bee7c (selinux-policy-41.44-1.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: SELinux is preventing bootc-systemd-g from 'search' accesses on the Verzeichnis /var/lib/sss/mc. ***** Plugin catchall (100. confidence) suggests ************************** Wenn Sie denken, dass es bootc-systemd-g standardmäßig erlaubt sein sollte, search Zugriff auf mc directory zu erhalten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # ausearch -c 'bootc-systemd-g' --raw | audit2allow -M my-bootcsystemdg # semodule -X 300 -i my-bootcsystemdg.pp Additional Information: Source Context system_u:system_r:systemd_bootc_generator_t:s0 Target Context system_u:object_r:sssd_public_t:s0 Target Objects /var/lib/sss/mc [ dir ] Source bootc-systemd-g Source Path bootc-systemd-g Port <Unbekannt> Host (removed) Source RPM Packages Target RPM Packages sssd-common-2.10.2-1.fc41.x86_64 SELinux Policy RPM selinux-policy-targeted-41.41-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.41-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.14.9-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 29 14:33:20 UTC 2025 x86_64 Alert Count 86 First Seen 2025-04-22 15:28:50 CEST Last Seen 2025-06-12 22:57:48 CEST Local ID 35c9c868-5f3e-434c-b317-797ff0627673 Raw Audit Messages type=AVC msg=audit(1749761868.959:613): avc: denied { search } for pid=16855 comm="bootc-systemd-g" name="mc" dev="sda3" ino=446687 scontext=system_u:system_r:systemd_bootc_generator_t:s0 tcontext=system_u:object_r:sssd_public_t:s0 tclass=dir permissive=0 Hash: bootc-systemd-g,systemd_bootc_generator_t,sssd_public_t,dir,search Version-Release number of selected component: selinux-policy-targeted-41.41-1.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing bootc-systemd-g from 'search' accesses on the Verzeichnis /var/lib/sss/mc. package: selinux-policy-targeted-41.41-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.14.9-200.fc41.x86_64 component: selinux-policy