Bug 2140648
| Summary: | ypxfrd is not using a static port as configured in /etc/sysconfig/network . | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Alok Sharma <alsharma> | 
| Component: | rpcbind | Assignee: | Steve Dickson <steved> | 
| Status: | CLOSED MIGRATED | QA Contact: | Yongcheng Yang <yoyang> | 
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.6 | CC: | databases-maint, dwysocha, fjanus, mmuzila, osloup, rhel-cs-apps-subsystem-qe, steved, xzhou, yieli, yoyang | 
| Target Milestone: | rc | Keywords: | MigratedToJIRA, Triaged | 
| Target Release: | --- | Flags: | pm-rhel:
                mirror+
                 | 
  
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-23 11:19:16 UTC | Type: | Bug | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I'm currently working on the issue and could not reproduce it in the 1MT-RHEL-8.6.0-released. I used this Google Doc guide (https://docs.google.com/document/d/1-qs5sV-boZs0hfti1viQlsGo2MI0e0C1BpD_0MMIfzs) for NIS setup with turned off firewall and the ports were successfully changed after configuration. Can you please provide more info about the issue? I suppose that the bug is in rpcbind component and needs to be rebased so this bug can be fixed. After updating the rpcbind package to 1.2.6, the bug is resolved. Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.  | 
Description of problem: ypxfrd is not using a static port as configured in /etc/sysconfig/network . Version-Release number of selected component (if applicable): ypserv-4.1-1.el8.x86_64 RHEL8.6 How reproducible: Steps to Reproduce: - From my testbox: ======= 1. Configure NIS server on RHEL8.6 machine 2. Add below in "/etc/sysconfig/network" ----------- # Created by anaconda NISDOMAIN = rh8nis.local #<== change NIS domain a per the environment YPSERV_ARGS="-p 834" YPXFRD_ARGS="-p 835" ---------- Actual results: ypxfrd bound to some other port but not on static configured one. ======= . # rpcinfo -p program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100009 1 udp 1010 yppasswdd 100009 1 tcp 1010 yppasswdd 100007 3 udp 1017 ypbind 100007 2 udp 1017 ypbind 100007 1 udp 1017 ypbind 100007 3 tcp 1017 ypbind 100007 2 tcp 1017 ypbind 100007 1 tcp 1017 ypbind 100004 2 udp 834 ypserv 100004 1 udp 834 ypserv 100004 2 tcp 834 ypserv 100004 1 tcp 834 ypserv 600100069 1 udp 836 fypxfrd #<== different from static configured port 600100069 1 tcp 836 fypxfrd ========= Expected results: ypxfrd should bind to the port 835 as configured in "/etc/sysconfig/network" Additional info: - Also, tried with selinux in permissive mode but results were same in RHEL8.6 - I have tried to configure the same on RHEL7.9 to verify and observed that it is working as expected i.e bound to the static configured port: - From RHEL7.9 testbox ------------------- [root@nis ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.9 (Maipo) [root@nis ~]# cat /etc/sysconfig/network # Created by anaconda NISDOMAIN = nis.master.com YPSERV_ARGS="-p 834" YPXFRD_ARGS="-p 835" <======= [root@nis ~]# getenforce Permissive [root@nis ~]# rpcinfo -p program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100009 1 udp 788 yppasswdd 100007 2 udp 857 ypbind 100007 1 udp 857 ypbind 100007 2 tcp 860 ypbind 100007 1 tcp 860 ypbind 600100069 1 udp 835 fypxfrd <======== 600100069 1 tcp 835 fypxfrd 100004 2 udp 834 ypserv 100004 1 udp 834 ypserv 100004 2 tcp 834 ypserv 100004 1 tcp 834 ypserv [root@nis ~]# -------------------