Bug 2521643

Summary: SELinux is preventing /usr/bin/rpcbind from 'name_bind' accesses on the udp_socket port 62369.
Product: [Fedora] Fedora Reporter: Frank Bures <buresf>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 44CC: buresf, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:353bb6bd6a8e04006146647683af50286d24b157900427787a028d67f4c84d5a;VARIANT_ID=kde;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-10-08 09:28:41 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:
Description Flags
File: description
none
File: os_info none

Description Frank Bures 2026-08-23 14:56:31 UTC
Description of problem:
After each reboot I get this SELinux error.  The system, however, works normally.
SELinux is preventing /usr/bin/rpcbind from 'name_bind' accesses on the udp_socket port 62369.

*****  Plugin bind_ports (92.2 confidence) suggests   ************************

If you want to allow /usr/bin/rpcbind to bind to network port 62369
Then you need to modify the port type.
Do
# semanage port -a -t PORT_TYPE -p udp 62369
    where PORT_TYPE is one of the following: agentx_port_t, apertus_ldp_port_t, comsat_port_t, dhcpc_port_t, dhcpd_port_t, dns_port_t, efs_port_t, flash_port_t, ftp_port_t, gdomap_port_t, hi_reserved_port_t, inetd_child_port_t, ipmi_port_t, ipp_port_t, kerberos_admin_port_t, kerberos_port_t, kprop_port_t, ktalkd_port_t, ldap_port_t, pki_ca_port_t, pop_port_t, portmap_port_t, printer_port_t, rlogin_port_t, rlogind_port_t, rndc_port_t, router_port_t, rsh_port_t, rsync_port_t, rtsp_port_t, rwho_port_t, smtp_port_t, spamd_port_t, swat_port_t, syslogd_port_t, uucpd_port_t.

*****  Plugin catchall_boolean (7.83 confidence) suggests   ******************

If you want to allow nis to enabled
Then you must tell SELinux about this by enabling the 'nis_enabled' boolean.

Do
setsebool -P nis_enabled 1

*****  Plugin catchall (1.41 confidence) suggests   **************************

If you believe that rpcbind should be allowed name_bind access on the port 62369 udp_socket by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'rpcbind' --raw | audit2allow -M my-rpcbind
# semodule -X 300 -i my-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                port 62369 [ udp_socket ]
Source                        rpcbind
Source Path                   /usr/bin/rpcbind
Port                          62369
Host                          (removed)
Source RPM Packages           rpcbind-1.2.9-2.fc44.x86_64
Target RPM Packages           
SELinux Policy RPM            selinux-policy-targeted-44.6-1.fc44.noarch
Local Policy RPM              selinux-policy-targeted-44.6-1.fc44.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 7.1.9-200.fc44.x86_64 #1 SMP
                              PREEMPT_DYNAMIC Wed Aug 19 17:41:40 UTC 2026
                              x86_64
Alert Count                   1
First Seen                    2026-08-23 10:39:20 EDT
Last Seen                     2026-08-23 10:39:20 EDT
Local ID                      89a58b7f-6e56-415c-bbf7-3b57a00a8483

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


type=SYSCALL msg=audit(1787495960.300:50): arch=x86_64 syscall=bind success=no exit=EACCES a0=b a1=7ffc1d90b9b0 a2=10 a3=1e1 items=0 ppid=1 pid=1246 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=rpcbind exe=/usr/bin/rpcbind subj=system_u:system_r:rpcbind_t:s0 key=(null)

Hash: rpcbind,rpcbind_t,unreserved_port_t,udp_socket,name_bind

Version-Release number of selected component:
selinux-policy-targeted-44.6-1.fc44.noarch

Additional info:
reporter:       libreport-2.17.15
reason:         SELinux is preventing /usr/bin/rpcbind from 'name_bind' accesses on the udp_socket port 62369.
package:        selinux-policy-targeted-44.6-1.fc44.noarch
component:      selinux-policy
hashmarkername: setroubleshoot
type:           libreport
kernel:         7.1.9-200.fc44.x86_64
comment:        After each reboot I get this SELinux error.  The system, however, works normally.
component:      selinux-policy

Comment 1 Frank Bures 2026-08-23 14:56:33 UTC
Created attachment 2155440 [details]
File: description

Comment 2 Frank Bures 2026-08-23 14:56:34 UTC
Created attachment 2155441 [details]
File: os_info

Comment 3 Zdenek Pytela 2026-10-08 09:28:41 UTC

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