Bug 2397252
| Summary: | SELinux is preventing rpcbind from 'name_bind' accesses on the udp_socket Port 61971. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Marco Nolden <bzf> | ||||||
| Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 42 | CC: | bzf, dwalsh, lvrabec, mmalik, omosnacek, pkoncity, vmojzis, zpytela | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:353bb6bd6a8e04006146647683af50286d24b157900427787a028d67f4c84d5a;VARIANT_ID=workstation; | ||||||||
| Fixed In Version: | Doc Type: | --- | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2025-09-22 09:12:59 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: |
|
||||||||
Created attachment 2107272 [details]
File: description
Created attachment 2107273 [details]
File: os_info
*** This bug has been marked as a duplicate of bug 1758147 *** |
Description of problem: SELinux is preventing rpcbind from 'name_bind' accesses on the udp_socket Port 61971. ***** Plugin bind_ports (92.2 confidence) suggests ************************ Sie möchten rpcbind erlauben, mit dem Netzwerk-Port $PORT_NUMBER zu verbinden Then you need to modify the port type. Do # semanage port -a -t PORT_TYPE -p udp 61971 wobei PORT_TYPE einer der folgenden Werte ist: 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 ****************** Sie folgendes tun möchten: allow nis to enabled Then sie müssen SELinux darüber benachrichtigen, indem Sie die \tboolesche Variable »nis_enabled« aktivieren. Do setsebool -P nis_enabled 1 ***** Plugin catchall (1.41 confidence) suggests ************************** Wenn Sie denken, dass es rpcbind standardmäßig erlaubt sein sollte, name_bind Zugriff auf Port 61971 udp_socket zu erhalten. Then sie sollten dies als Fehler melden. Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen. Do zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen: # 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 61971 [ udp_socket ] Source rpcbind Source Path rpcbind Port 61971 Host (removed) Source RPM Packages Target RPM Packages SELinux Policy RPM selinux-policy-targeted-42.9-1.fc42.noarch Local Policy RPM selinux-policy-targeted-42.9-1.fc42.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 6.16.7-200.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 11 17:46:54 UTC 2025 x86_64 Alert Count 8 First Seen 2025-09-03 09:19:31 CEST Last Seen 2025-09-22 10:52:13 CEST Local ID ab543736-2a3b-4855-b128-02eec7ffa5ba Raw Audit Messages type=AVC msg=audit(1758531133.662:158): avc: denied { name_bind } for pid=6413 comm="rpcbind" src=61971 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-targeted-42.9-1.fc42.noarch Additional info: reporter: libreport-2.17.15 package: selinux-policy-targeted-42.9-1.fc42.noarch hashmarkername: setroubleshoot type: libreport reason: SELinux is preventing rpcbind from 'name_bind' accesses on the udp_socket Port 61971. kernel: 6.16.7-200.fc42.x86_64 component: selinux-policy component: selinux-policy