Bug 140016
Summary: | mount utility ignores "-o udp" option | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexey Budankov <alexey.budankov> | ||||||
Component: | util-linux | Assignee: | Steve Dickson <steved> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 2 | CC: | astrand, dmateo, doug, notting, tao | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-03-24 13:26:32 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
Alexey Budankov
2004-11-19 10:56:31 UTC
I am of the opition that is this more of a firewall bug than an NFS problem becuase neither FC2 or FC3 mount command ignore the udp option. OK, but the same utilities work perfect on SUSE. Anyway I can't exactly know what the problem is in, but this only happens on FC2/3 for me. Try 'service iptables stop' and then the mount.... Hi, Of course, I disabled all local firewall services and iptables sevice first time, before mounting, but it did'not help. Thanks, Alexey I didn't didn't mean to in insultive... :) I just wanted to cover the obvious..... Now what troubles me with the "it is here ===> tcp 0 1 FC2.intel:996 server.int:4046 " is 4046 is the not the port that NFS listens on, 2049 is the port so I would have expected some like: "FC2.intel:996 server.int:nfs" or "FC2.intel:996 server.int:2049" if TCP was really being used.... Hi Steve, First, you are right - 4046 is not the apropriate port for nfs - the 2049 port is, but the question is why mount tried to operate over tcp whereas I explicitly made it to connect over udp. Second, "FC2.intel:996 server.int:nfs" from your previous message indeed appears but only after about 5 minutes and nfs connection is really established then. My question is why it hangs so long, while other utilities operate much more faster (I mean other distros). Thanks, Alexey Yes this is a problem... looking at a network trace it seems rpc.mountd creates a TCP connection to the server even when the "-o udp" mount is used. Created attachment 107572 [details]
A patch that makes both mount and umount adhere to the current IP protocol.
To make NFS mount and umount firewall friendlier, the communication
between rpc.mound and the nfs server need to used the same IP protocol
that is given on the command line.
Created attachment 107604 [details]
.spec file for applying suggested above patch and building rpm
replace original util-linux.spec with the new one
Hi Steve, I tried your fix and it indeed worked perfect for me, it is good job :), thanks! I also attached new .spec file for building fixed binaries. Thanks, Alexey Fixed in util-linux-2.12-19.i386.rpm for FC2 Fixed in util-linux-2.12a-17.i386.rpm for FC3 *** Bug 128100 has been marked as a duplicate of this bug. *** The fixed util-linux package is *still* not available in updates-stable. Why? It should be available now... >It should be available now... Well, it's not in ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/updates/2/i386/ yet... It's not in http://download.fedora.redhat.com/pub/fedora/linux/core/updates/2/i386/ either. "CURRENTRELEASE" means: "The problem described has already been fixed and can be obtained in the latest version of our product." The latest version of Fedora is FC3, and the bug is still present in FC3. No fixed util-linux package has been released as stable for FC3, at least not in http://download.fedora.redhat.com/pub/fedora/linux/core/updates/3/i386/. So, closing this bug with CURRENTRELEASE seems wrong to me. I'm not sure why these updates are not being pushed out but I put the latest rpm and srpm in http://people.redhat.com/steved/bz140016/ No one requested that these be pushed from final to testing... is that a request? I guess that was my fault.... please push this out... The update is available for FC2 and FC3 now. Thanks. However, I've discovered that the same problem exists in RHEL4. Should I open up a new bug for this? Using the package util-linux-2.12a-23.i386 from FC3 seems to work, but I assume that's not a supported solution. I've opened up a new bug for this issue on RHEL4: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154533 |