Bug 1595170
Summary: | rpcbind sometimes uses port 749/UDP, which breaks Kerberos admin and FreeIPA | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Christian Heimes <cheimes> | |
Component: | rpcbind | Assignee: | Steve Dickson <steved> | |
Status: | CLOSED WONTFIX | QA Contact: | Yongcheng Yang <yoyang> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 7.6 | CC: | extras-qa, myllynen, rharwood, steved, xzhou, yoyang | |
Target Milestone: | rc | Keywords: | FutureFeature | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | 1592883 | |||
: | 1644280 (view as bug list) | Environment: | ||
Last Closed: | 2021-02-15 07:39:48 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: | ||||
Bug Depends On: | 1592883 | |||
Bug Blocks: | 1644280 |
Description
Christian Heimes
2018-06-26 09:40:36 UTC
Looks like we need to wait for the upstream fix firstly. ##################################### # Wait when rpcbind port=749 assigned ##################################### [root ~]# cur_port=0; target=749; while [ "$cur_port" -ne "$target" ]; do systemctl reset-failed; systemctl restart rpcbind; sleep 1; cur_port=`netstat -apn4| awk -F: '/rpcbind/ {print $2}' | cut -d' ' -f1`; echo "current port is $cur_port"; done current port is 913 <...> current port is 730 current port is 749 [root ~]# netstat --program --all --numeric-ports | grep -w rpcbind udp 0 0 0.0.0.0:749 0.0.0.0:* 35766/rpcbind udp6 0 0 [::]:749 [::]:* 35766/rpcbind unix 2 [ ACC ] STREAM LISTENING 10945 1/systemd /var/run/rpcbind.sock [root ~]# rpm -q rpcbind rpcbind-0.2.0-45.el7.x86_64 AIUI, 749/UDP is just an example if the port is assigned at random, this could affect any other service using privileged UDP ports as well. It sounds like the port should be configurable so that it is possible to avoid these kinds of conflicts. Thanks. Will check it by hand based on comment #2 when it's fixed. We may need rpcbind patch: commit 2e9c289246c647e25649914bdb0d9400c66f486e (tag: pcbind-0_2_5-rc4) Author: Steve Dickson <steved> Date: Wed Aug 15 10:22:36 2018 -0400 rpcbind: Disable remote calls by default Added a new configuration flag --enable-rmtcalls which will be needed to enable the remote call functionality. This also stops rpcbind from opening up random listening ports. (In reply to Yongcheng Yang from comment #4) > Will check it by hand based on comment #2 when it's fixed. > > We may need rpcbind patch: > > commit 2e9c289246c647e25649914bdb0d9400c66f486e (tag: pcbind-0_2_5-rc4) > Author: Steve Dickson <steved> > Date: Wed Aug 15 10:22:36 2018 -0400 > > rpcbind: Disable remote calls by default > > Added a new configuration flag --enable-rmtcalls > which will be needed to enable the remote call > functionality. > > This also stops rpcbind from opening up random > listening ports. Yes this is the patch... but... it turns out this patch breaks NIS when it broadcasts for the ypserver... I just turn the listening back on in Fedora just for that reason After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |