Bug 1671644 - SELinux is preventing pkla-check-auth from 'connectto' accesses on the unix_stream_socket /var/lib/sss/pipes/nss.
Summary: SELinux is preventing pkla-check-auth from 'connectto' accesses on the unix_s...
Keywords:
Status: CLOSED DUPLICATE of bug 1401128
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 29
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a8d0ece62026ecd1e70a97af073...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-01 07:13 UTC by Sandro Bonazzola
Modified: 2019-02-01 10:12 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-02-01 10:12:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sandro Bonazzola 2019-02-01 07:13:24 UTC
Description of problem:
SELinux is preventing pkla-check-auth from 'connectto' accesses on the unix_stream_socket /var/lib/sss/pipes/nss.

*****  Plugin catchall (100. confidence) suggests   **************************

Se ci credi pkla-check-auth dovrebbe essere consentito connectto accesso al nss unix_stream_socket per impostazione predefinita.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per ora eseguendo: # ausearch -c 'pkla-check-auth'--raw | audit2allow -M my-$MODULE_NOME # semodule -X 300 -i miei-pklacheckauth.pp

Additional Information:
Source Context                system_u:system_r:policykit_auth_t:s0
Target Context                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Target Objects                /var/lib/sss/pipes/nss [ unix_stream_socket ]
Source                        pkla-check-auth
Source Path                   pkla-check-auth
Port                          <Sconosciuto>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.2-47.fc29.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.20.5-200.fc29.x86_64 #1 SMP Mon
                              Jan 28 19:29:17 UTC 2019 x86_64 x86_64
Alert Count                   2
First Seen                    2019-02-01 08:05:41 CET
Last Seen                     2019-02-01 08:10:51 CET
Local ID                      79fe6f31-c369-47af-b0dd-d7ea47733361

Raw Audit Messages
type=AVC msg=audit(1549005051.319:351): avc:  denied  { connectto } for  pid=13679 comm="pkla-check-auth" path="/var/lib/sss/pipes/nss" scontext=system_u:system_r:policykit_auth_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=unix_stream_socket permissive=1


Hash: pkla-check-auth,policykit_auth_t,unconfined_t,unix_stream_socket,connectto

Version-Release number of selected component:
selinux-policy-3.14.2-47.fc29.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.7
hashmarkername: setroubleshoot
kernel:         4.20.5-200.fc29.x86_64
type:           libreport

Potential duplicate: bug 1401128

Comment 1 Lukas Vrabec 2019-02-01 10:12:22 UTC

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


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