Bug 1773430 - SELinux is preventing rpcbind from 'name_bind' accesses on the udp_socket puerto 64813.
Summary: SELinux is preventing rpcbind from 'name_bind' accesses on the udp_socket pue...
Keywords:
Status: CLOSED DUPLICATE of bug 1758147
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 31
Hardware: x86_64
OS: Unspecified
medium
low
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:353bb6bd6a8e04006146647683a...
: 1776053 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-18 07:05 UTC by Juan Orti
Modified: 2019-11-28 14:43 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-11-28 14:43:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Juan Orti 2019-11-18 07:05:39 UTC
Description of problem:
SELinux is preventing rpcbind from 'name_bind' accesses on the udp_socket puerto 64813.

*****  Plugin catchall_boolean (89.3 confidence) suggests   ******************

Si quiere allow system to run with NIS
Then debe informar a SELinux de ello activando el indicador 'nis_enabled'.
Puede leer la página de manual 'rpcbind_selinux' para más detalles.
Do
setsebool -P nis_enabled 1

*****  Plugin catchall (11.6 confidence) suggests   **************************

Si cree que de manera predeterminada se debería permitir a rpcbind el acceso name_bind sobre  puerto 64813 udp_socket.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
permita el acceso temporalmente ejecutando:
# ausearch -c 'rpcbind' --raw | audit2allow -M mi-rpcbind
# semodule -X 300 -i mi-rpcbind.pp

Additional Information:
Source Context                system_u:system_r:rpcbind_t:s0
Target Context                system_u:object_r:unreserved_port_t:s0
Target Objects                puerto 64813 [ udp_socket ]
Source                        rpcbind
Source Path                   rpcbind
Port                          64813
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.4-40.fc31.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.3.11-300.fc31.x86_64 #1 SMP Tue
                              Nov 12 19:08:07 UTC 2019 x86_64 x86_64
Alert Count                   3
First Seen                    2019-11-11 16:30:46 CET
Last Seen                     2019-11-18 08:03:27 CET
Local ID                      b3439bbe-97e7-4562-8ffb-8f8d25e2a173

Raw Audit Messages
type=AVC msg=audit(1574060607.470:593): avc:  denied  { name_bind } for  pid=11277 comm="rpcbind" src=64813 scontext=system_u:system_r:rpcbind_t:s0 tcontext=system_u:object_r:unreserved_port_t:s0 tclass=udp_socket permissive=0


Hash: rpcbind,rpcbind_t,unreserved_port_t,udp_socket,name_bind

Version-Release number of selected component:
selinux-policy-3.14.4-40.fc31.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.11.3
hashmarkername: setroubleshoot
kernel:         5.3.11-300.fc31.x86_64
type:           libreport

Potential duplicate: bug 1563792

Comment 1 Brian J. Murrell 2019-11-20 14:48:46 UTC
Similar problem has been detected:

Don't know why this happened.

hashmarkername: setroubleshoot
kernel:         5.3.11-300.fc31.x86_64
reason:         SELinux is preventing rpcbind from 'name_bind' accesses on the udp_socket port 62126.
type:           libreport

Comment 2 dan 2019-11-25 01:37:56 UTC
*** Bug 1776053 has been marked as a duplicate of this bug. ***

Comment 3 Richard Fiľo 2019-11-28 14:43:22 UTC

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


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