Bug 2424552
| Summary: | SELinux is preventing anaconda-genera from 'write' accesses on the sock_file /var/lib/sss/pipes/nss. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Davide Repetto <red> | ||||||
| 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: | 43 | CC: | dwalsh, lvrabec, mmalik, omosnacek, pkoncity, red, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:8dd5936e4bcb2436adafc9f4e03695e7279be2a692dc5bf2265ff0c623bcb0d8;VARIANT_ID=matecompiz; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-12-23 14:45:22 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 2119781 [details]
File: description
Created attachment 2119782 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 2417835 *** |
Description of problem: I noticed this AVC denial after the following upgrade. I don't know if they're related... Transaction ID : 800 Begin time : 2025-12-23 08:53:41 Begin rpmdb : 72944d6022065cdacf1a77d8fe0c87b057f6bcdc07475067b2c23c175e9dbbbd End time : 2025-12-23 08:54:13 End rpmdb : 5c2972364a5b9cd64dbd0125f0b077fbd31f593b9d54bae7401e893bce41c384 User : 1000 Davide <davide> Status : Ok Releasever : 43 Description : dnf -y upgrade Comment : Packages altered: Action Package Reason Repository Install python3-cbor2-0:5.6.5-6.fc43.x86_64 Dependency fedora Install python3-ujson-0:5.11.0-1.fc43.x86_64 Dependency fedora Upgrade alsa-lib-0:1.2.15.1-1.fc43.x86_64 External User updates Upgrade alsa-lib-0:1.2.15.1-1.fc43.i686 Dependency updates Upgrade alsa-ucm-0:1.2.15.1-1.fc43.noarch Group updates Upgrade alsa-utils-0:1.2.15.1-1.fc43.x86_64 Group updates Upgrade chromium-0:143.0.7499.169-1.fc43.x86_64 External User updates Upgrade chromium-common-0:143.0.7499.169-1.fc43.x86_64 External User updates Upgrade libproxy-0:0.5.12-1.fc43.x86_64 External User updates Upgrade libproxy-bin-0:0.5.12-1.fc43.x86_64 External User updates Upgrade libproxy-0:0.5.12-1.fc43.i686 Dependency updates Upgrade python3-autobahn-0:25.12.1-1.fc43.noarch External User updates Upgrade python3-txaio-0:25.12.2-1.fc43.noarch External User updates Upgrade python3-autobahn+twisted-0:25.12.1-1.fc43.noarch External User updates Replaced alsa-lib-0:1.2.15-4.fc43.x86_64 External User @System Replaced alsa-lib-0:1.2.15-4.fc43.i686 Dependency @System Replaced alsa-ucm-0:1.2.15-4.fc43.noarch Group @System Replaced alsa-utils-0:1.2.15-2.fc43.x86_64 Group @System Replaced chromium-0:143.0.7499.146-1.fc43.x86_64 External User @System Replaced chromium-common-0:143.0.7499.146-1.fc43.x86_64 External User @System Replaced libproxy-0:0.5.8-3.fc43.x86_64 External User @System Replaced libproxy-0:0.5.8-3.fc43.i686 Dependency @System Replaced libproxy-bin-0:0.5.8-3.fc43.x86_64 External User @System Replaced python3-autobahn-0:25.10.2-1.fc43.noarch External User @System Replaced python3-autobahn+twisted-0:25.10.2-1.fc43.noarch External User @System Replaced python3-txaio-0:25.9.2-1.fc43.noarch External User @System SELinux is preventing anaconda-genera from 'write' accesses on the sock_file /var/lib/sss/pipes/nss. ***** Plugin catchall (100. confidence) suggests ************************** Se si ritiene che a anaconda-genera debba essere consentito l'accesso write su sock_file nss per impostazione predefinita. Then si dovrebbe segnalare il problema come bug. È possibile generare un modulo di politica locale per consentire questo accesso. Do consentire questo accesso per ora eseguendo: # ausearch -c 'anaconda-genera' --raw | audit2allow -M my-$MODULE_NOME # semodule -X 300 -i mio-anacondagenera.pp Additional Information: Source Context system_u:system_r:anaconda_generator_t:s0 Target Context unconfined_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 <Sconosciuto> Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-42.19-1.fc43.noarch Local Policy RPM selinux-policy-targeted-42.19-1.fc43.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 6.17.12-300.fc43.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Dec 13 05:06:24 UTC 2025 x86_64 Alert Count 29 First Seen 2025-12-04 15:49:25 CET Last Seen 2025-12-23 09:54:11 CET Local ID 1c51a3e5-eb80-4728-809d-79d3f709ae27 Raw Audit Messages type=AVC msg=audit(1766480051.594:469): avc: denied { write } for pid=29340 comm="anaconda-genera" name="nss" dev="sdd4" ino=1623381 scontext=system_u:system_r:anaconda_generator_t:s0 tcontext=unconfined_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-42.19-1.fc43.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-42.19-1.fc43.noarch component: selinux-policy hashmarkername: setroubleshoot type: libreport kernel: 6.17.12-300.fc43.x86_64 component: selinux-policy