Bug 2330049
| Summary: | SELinux is preventing anaconda-genera from 'write' accesses on the sock_file /var/lib/sss/pipes/nss. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matthias Andree <matthias.andree> | ||||||
| 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: | 41 | CC: | dwalsh, lvrabec, matthias.andree, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:8dd5936e4bcb2436adafc9f4e03695e7279be2a692dc5bf2265ff0c623bcb0d8;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-03-04 14:55:13 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 2060877 [details]
File: description
Created attachment 2060878 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2325253 *** |
Description of problem: This happened when I disabled nvidia-persistenced with systemctl disable and then systemctl stop. SELinux is preventing anaconda-genera from 'write' accesses on the sock_file /var/lib/sss/pipes/nss. ***** Plugin catchall (100. confidence) suggests ************************** Wenn Sie denken, dass es anaconda-genera standardmäßig erlaubt sein sollte, write Zugriff auf nss sock_file 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 'anaconda-genera' --raw | audit2allow -M my-anacondagenera # semodule -X 300 -i my-anacondagenera.pp Additional Information: Source Context system_u:system_r:anaconda_generator_t:s0 Target Context system_u:object_r:sssd_var_lib_t:s0 Target Objects /var/lib/sss/pipes/nss [ sock_file ] Source anaconda-genera Source Path anaconda-genera Port <Unbekannt> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-41.26-1.fc41.noarch Local Policy RPM selinux-policy-targeted-41.26-1.fc41.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.11.10-300.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Nov 23 00:51:20 UTC 2024 x86_64 Alert Count 2 First Seen 2024-12-02 22:02:56 CET Last Seen 2024-12-02 22:02:58 CET Local ID 520b1e3b-fc32-4870-a81f-e3a9e1969b13 Raw Audit Messages type=AVC msg=audit(1733173378.863:1011): avc: denied { write } for pid=85914 comm="anaconda-genera" name="nss" dev="dm-1" ino=916646 scontext=system_u:system_r:anaconda_generator_t:s0 tcontext=system_u:object_r:sssd_var_lib_t:s0 tclass=sock_file permissive=1 Hash: anaconda-genera,anaconda_generator_t,sssd_var_lib_t,sock_file,write Version-Release number of selected component: selinux-policy-targeted-41.26-1.fc41.noarch Additional info: reporter: libreport-2.17.15 reason: SELinux is preventing anaconda-genera from 'write' accesses on the sock_file /var/lib/sss/pipes/nss. package: selinux-policy-targeted-41.26-1.fc41.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.11.10-300.fc41.x86_64 comment: This happened when I disabled nvidia-persistenced with systemctl disable and then systemctl stop. component: selinux-policy