Bug 2417835 - SELinux is preventing anaconda-genera from 'write' accesses on the sock_file /var/lib/sss/pipes/nss.
Summary: SELinux is preventing anaconda-genera from 'write' accesses on the sock_file ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8dd5936e4bcb2436adafc9f4e03...
: 2417840 2424552 2432862 2437519 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-29 22:34 UTC by Davide Repetto
Modified: 2026-03-12 01:57 UTC (History)
8 users (show)

Fixed In Version: selinux-policy-43.1-1.fc43
Clone Of:
Environment:
Last Closed: 2026-03-12 01:57:23 UTC
Type: ---
Embargoed:
zpytela: mirror+


Attachments (Terms of Use)
File: description (2.23 KB, text/plain)
2025-11-29 22:34 UTC, Davide Repetto
no flags Details
File: os_info (674 bytes, text/plain)
2025-11-29 22:34 UTC, Davide Repetto
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github fedora-selinux selinux-policy pull 3089 0 None open Apply the generator template to anaconda generator 2026-03-05 14:42:05 UTC
Red Hat Issue Tracker FC-3031 0 None None None 2026-01-28 12:00:10 UTC

Description Davide Repetto 2025-11-29 22:34:13 UTC
Description of problem:
Still getting this with:
 selinux-policy-0:42.17-1.fc43.noarch
 selinux-policy-minimum-0:42.17-1.fc43.noarch
 selinux-policy-targeted-0:42.17-1.fc43.noarch

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.17-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.17-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.17.8-300.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Nov 14 01:47:12 UTC 2025
                              x86_64
Alert Count                   2
First Seen                    2025-11-29 23:01:34 CET
Last Seen                     2025-11-29 23:01:35 CET
Local ID                      4df04b4b-0d71-4bcc-8c06-ff09d67141e9

Raw Audit Messages
type=AVC msg=audit(1764453695.631:2712): avc:  denied  { write } for  pid=452912 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.17-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.17-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.17.8-300.fc43.x86_64
component:      selinux-policy

Comment 1 Davide Repetto 2025-11-29 22:34:16 UTC
Created attachment 2116675 [details]
File: description

Comment 2 Davide Repetto 2025-11-29 22:34:18 UTC
Created attachment 2116676 [details]
File: os_info

Comment 3 Zdenek Pytela 2025-12-03 16:43:32 UTC
*** Bug 2417840 has been marked as a duplicate of this bug. ***

Comment 4 Zdenek Pytela 2025-12-23 14:45:22 UTC
*** Bug 2424552 has been marked as a duplicate of this bug. ***

Comment 5 Zdenek Pytela 2026-02-09 09:05:01 UTC
*** Bug 2432862 has been marked as a duplicate of this bug. ***

Comment 6 Zdenek Pytela 2026-02-09 09:05:17 UTC
*** Bug 2437519 has been marked as a duplicate of this bug. ***

Comment 7 Fedora Update System 2026-03-10 21:54:24 UTC
FEDORA-2026-d5ad4083a3 (selinux-policy-43.1-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d5ad4083a3

Comment 8 Fedora Update System 2026-03-11 01:50:30 UTC
FEDORA-2026-d5ad4083a3 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d5ad4083a3`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d5ad4083a3

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2026-03-12 01:57:23 UTC
FEDORA-2026-d5ad4083a3 (selinux-policy-43.1-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.