Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 705357 Details for
Bug 918028
Unable to mount NFS on port 2049
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
When no port is supplied or port 2049 is supplied, add them to the mount options
nfs-utils-1.2.3-default_mount_port.patch (text/plain), 794 bytes, created by
Menny Hamburger
on 2013-03-05 10:43:57 UTC
(
hide
)
Description:
When no port is supplied or port 2049 is supplied, add them to the mount options
Filename:
MIME Type:
Creator:
Menny Hamburger
Created:
2013-03-05 10:43:57 UTC
Size:
794 bytes
patch
obsolete
>--- nfs-utils-1.2.3/utils/mount/stropts.c 2013-03-05 12:11:43.395624000 +0200 >+++ nfs-utils-1.2.3/utils/mount/stropts.c 2013-03-05 12:16:39.917643000 +0200 >@@ -413,4 +413,5 @@ > char new_option[64]; > char *netid; >+ unsigned long nfs_port = NFS_PORT; > > po_remove_all(options, "nfsprog"); >@@ -439,10 +440,11 @@ > > po_remove_all(options, "port"); >- if (nfs_pmap->pm_port != NFS_PORT) { >- snprintf(new_option, sizeof(new_option) - 1, >- "port=%lu", nfs_pmap->pm_port); >- if (po_append(options, new_option) == PO_FAILED) >- return 0; >- } >+ if (nfs_pmap->pm_port != NFS_PORT) >+ nfs_port = nfs_pmap->pm_port; >+ >+ snprintf(new_option, sizeof(new_option) - 1, >+ "port=%lu", nfs_port); >+ if (po_append(options, new_option) == PO_FAILED) >+ return 0; > > po_remove_all(options, "mountvers");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 918028
:
705357