Bug 2437519 - 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 DUPLICATE of bug 2417835
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 43
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Zdenek Pytela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:8dd5936e4bcb2436adafc9f4e03...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-02-07 17:17 UTC by Davide Repetto
Modified: 2026-02-09 09:05 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-02-09 09:05:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: description (2.08 KB, text/plain)
2026-02-07 17:17 UTC, Davide Repetto
no flags Details
File: os_info (674 bytes, text/plain)
2026-02-07 17:17 UTC, Davide Repetto
no flags Details

Description Davide Repetto 2026-02-07 17:17:01 UTC
Description of problem:
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.23-1.fc43.noarch
Local Policy RPM              selinux-policy-targeted-42.23-1.fc43.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 6.18.8-200.fc43.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Fri Jan 30 20:23:28 UTC 2026
                              x86_64
Alert Count                   2
First Seen                    2026-02-07 18:15:56 CET
Last Seen                     2026-02-07 18:15:57 CET
Local ID                      16e344f1-062b-411b-8382-e5b2c3682dae

Raw Audit Messages
type=AVC msg=audit(1770484557.784:3623): avc:  denied  { write } for  pid=296498 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.23-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.23-1.fc43.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         6.18.8-200.fc43.x86_64
component:      selinux-policy

Comment 1 Davide Repetto 2026-02-07 17:17:03 UTC
Created attachment 2128541 [details]
File: description

Comment 2 Davide Repetto 2026-02-07 17:17:05 UTC
Created attachment 2128542 [details]
File: os_info

Comment 3 Zdenek Pytela 2026-02-09 09:05:17 UTC

*** This bug has been marked as a duplicate of bug 2417835 ***


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