Bug 162133
Summary: | LOCKD_TCPPORT & LOCKD_UDPPORT don't work as expected | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Ian Laurie <nixuser> | ||||||
Component: | nfs-utils | Assignee: | Steve Dickson <steved> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Ben Levenson <benl> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 4.0 | CC: | tao | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | fi | ||||||||
Fixed In Version: | RHBA-2006-0463 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-08-10 21:28:20 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 181409 | ||||||||
Attachments: |
|
Description
Ian Laurie
2005-06-30 09:14:46 UTC
Well just because you ask for those ports, there is no guarantee the services will be able to bind to those exact ports since there might already taken by another process. Meaning there is no way to reserver those ports prior to actually bind to them..... I thought about failing the server if the requested port was not available, but I figured that may not be such a good idea... BTW, what nfs-utils version are you using (i.e. what does 'rpm -q nfs-utils' say) Created attachment 124674 [details]
Proposed patch
I believe I found the problem. The reason the lockd ports are not
being set is because the nfslock initscript is not setting them... So here
is a patch that should take care of the problem. Please let me know
one way or the other...
Created attachment 124696 [details]
rhel4-lockd-portset
I have applied the patch in comment #5 to /etc/rc.d/nfslock and it works. Previously I got around the problem by doing it the old way with the line: options lockd nlm_udpport=4001 nlm_tcpport=4001 added to the modprobe.conf file. I notice that the nfslock file in FC5 probably needs this patch also. I can confirm that the RHEL4 patch in comment #5 fixes FC5 also. I have created a bug report against FC5, bug 189101 fixed in nfs-utils-1.0.6-69 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0463.html |