[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
This bug was fixed in the package nfs-utils - 1:1.2.5-3ubuntu3.2 --- nfs-utils (1:1.2.5-3ubuntu3.2) precise; urgency=medium * Fix mount.nfs so that it falls back to v3 when ipv4 and ipv6 name resolution is present, but nfsv4 is not. present. LP: #1391662 -- Dave Chiluk chi...@canonical.com Tue, 18 Nov 2014 10:55:28 -0600 ** Changed in: nfs-utils (Ubuntu Precise) Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
** Description changed: - [Impact] - When all the following exist -- mounting a server using hostname. -- the hostname resolves to both an ipv4 and ipv6 address -- the nfs server only supports nfsv4 - Then. - * The nfs client will not fall back fo nfsv4, and will be unable to mount -the share. - * The following errors are printed in the logs. - + [Impact] + When all the following exist + - mounting a server using hostname. + - the hostname resolves to both an ipv4 and ipv6 address + - the nfs server only supports nfsv3 + Then. + * The nfs client will not fall back fo nfsv4, and will be unable to mount + the share. + * The following errors are printed in the logs. + mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Tue Nov 11 14:25:34 2014 mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'vers=4,addr=:::,clientaddr=:::' mount.nfs: mount(2): No route to host mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'vers=4,addr=:::,clientaddr=:::' mount.nfs: mount(2): No route to host [Test Case] - * Restrict to nfsv3 on Server by setting RPCNFSDOPTS=--no-nfs-version 4 in /etc/default/nfs-kernel-server - * Enable dns resolution for both ipv4 and ipv6 of the server. - * Export a directory from the server (export -a) - * Attempt to mount the nfs share from client + * Restrict to nfsv3 on Server by setting RPCNFSDOPTS=--no-nfs-version 4 in /etc/default/nfs-kernel-server + * Enable dns resolution for both ipv4 and ipv6 of the server. + * Export a directory from the server (export -a) + * Attempt to mount the nfs share from client - - [Regression Potential] - * Upstream backport that still exists upstream. + [Regression Potential] + * Upstream backport that still exists upstream. [Other Info] - * Fix already exists in 2.6+ which means trusty already have the fix. - + * Fix already exists in 2.6+ which means trusty already have the fix. __ If you attempt to mount a share from a server that is dual stack (i.e. has both an A and a record in DNS) and NFSv3-only, mount.nfs goes into an infinite loop of retrying an NFS-v4 mount: mount nfs-v3-server:/path /mnt -v mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Tue Nov 11 14:25:34 2014 mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'vers=4,addr=:::,clientaddr=:::' mount.nfs: mount(2): No route to host mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'vers=4,addr=:::,clientaddr=:::' mount.nfs: mount(2): No route to host If we hide the record by setting an override in /etc/hosts, then mount.nfs correctly retries with NFSv3: mount -t nfs nfs-v3-server:/path /mnt -v mount.nfs: timeout set for Tue Nov 11 15:01:35 2014 mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=x.x.x.x' mount.nfs: prog 13, trying vers=3, prot=6 mount.nfs: trying x.x.x.x prog 13 vers 3 prot TCP port 2049 mount.nfs: prog 15, trying vers=3, prot=17 mount.nfs: trying x.x.x.x prog 15 vers 3 prot UDP port 635 nfs-v3-server:/path on /mnt type nfs (rw) ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: nfs-common 1:1.2.5-3ubuntu3.1 ProcVersionSignature: Ubuntu 3.2.0-70.105-generic 3.2.63 Uname: Linux 3.2.0-70-generic x86_64 ApportVersion: 2.0.1-0ubuntu17.8 Architecture: amd64 Date: Tue Nov 11 15:56:25 2014 InstallationMedia: Ubuntu-Server 10.04.2 LTS Lucid Lynx - Release amd64 (20110211.1) MarkForUpload: True ProcEnviron: SHELL=/usr/bin/ksh TERM=xterm PATH=(custom, no user) LANG=en_US SourcePackage: nfs-utils UpgradeStatus: Upgraded to precise on 2013-10-07 (400 days ago) ** Description changed: [Impact] When all the following exist - mounting a server using hostname. - the hostname resolves to both an ipv4 and ipv6 address - the nfs server only supports nfsv3 Then. - * The nfs client will not fall back fo nfsv4, and will be unable to mount + * The nfs client will not fall back to nfsv3, and will be unable to mount the share. * The following errors are printed in the logs. mount: no type was given - I'll assume nfs because of the colon mount.nfs:
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
Hello Tyler, or anyone else affected, Accepted nfs-utils into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/nfs- utils/1:1.2.5-3ubuntu3.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: nfs-utils (Ubuntu Precise) Status: In Progress = Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
** Branch linked: lp:ubuntu/precise-proposed/nfs-utils -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
Installing package nfs-common:1.2.5-3ubuntu3.2 resolved the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
Thanks for doing that verification Tyler. ** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
** Also affects: nfs-utils (Ubuntu Precise) Importance: Undecided Status: New ** Changed in: nfs-utils (Ubuntu) Status: In Progress = Fix Released ** Changed in: nfs-utils (Ubuntu Precise) Assignee: (unassigned) = Dave Chiluk (chiluk) ** Changed in: nfs-utils (Ubuntu Precise) Importance: Undecided = Medium ** Changed in: nfs-utils (Ubuntu Precise) Status: New = In Progress ** Changed in: nfs-utils (Ubuntu) Assignee: Dave Chiluk (chiluk) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
Got this update from Tyler through UA. I have installed the package that Dave provided and it seems to resolve the problem! Tyler please +1 here as well. ** Tags added: cts -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
** Description changed: - If you attempt to mount a share from a server that is dual stack (i.e. - has both an A and a record in DNS) and NFSv3-only, mount.nfs goes - into an infinite loop of retrying an NFS-v4 mount: + [Impact] + When all the following exist +- mounting a server using hostname. +- the hostname resolves to both an ipv4 and ipv6 address +- the nfs server only supports nfsv4 + Then. + * The nfs client will not fall back fo nfsv4, and will be unable to mount +the share. + * The following errors are printed in the logs. + + mount: no type was given - I'll assume nfs because of the colon + mount.nfs: timeout set for Tue Nov 11 14:25:34 2014 + mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x' + mount.nfs: mount(2): Protocol not supported + mount.nfs: trying text-based options 'vers=4,addr=:::,clientaddr=:::' + mount.nfs: mount(2): No route to host + mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x' + mount.nfs: mount(2): Protocol not supported + mount.nfs: trying text-based options 'vers=4,addr=:::,clientaddr=:::' + mount.nfs: mount(2): No route to host + + + [Test Case] + + * Restrict to nfsv3 on Server by setting RPCNFSDOPTS=--no-nfs-version 4 in /etc/default/nfs-kernel-server + * Enable dns resolution for both ipv4 and ipv6 of the server. + * Export a directory from the server (export -a) + * Attempt to mount the nfs share from client + + + [Regression Potential] + * Upstream backport that still exists upstream. + + [Other Info] + * Fix already exists in 2.6+ which means trusty already have the fix. + + + __ + If you attempt to mount a share from a server that is dual stack (i.e. has both an A and a record in DNS) and NFSv3-only, mount.nfs goes into an infinite loop of retrying an NFS-v4 mount: mount nfs-v3-server:/path /mnt -v mount: no type was given - I'll assume nfs because of the colon mount.nfs: timeout set for Tue Nov 11 14:25:34 2014 mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'vers=4,addr=:::,clientaddr=:::' mount.nfs: mount(2): No route to host mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'vers=4,addr=:::,clientaddr=:::' mount.nfs: mount(2): No route to host If we hide the record by setting an override in /etc/hosts, then mount.nfs correctly retries with NFSv3: mount -t nfs nfs-v3-server:/path /mnt -v mount.nfs: timeout set for Tue Nov 11 15:01:35 2014 mount.nfs: trying text-based options 'vers=4,addr=x.x.x.x,clientaddr=x.x.x.x' mount.nfs: mount(2): Protocol not supported mount.nfs: trying text-based options 'addr=x.x.x.x' mount.nfs: prog 13, trying vers=3, prot=6 mount.nfs: trying x.x.x.x prog 13 vers 3 prot TCP port 2049 mount.nfs: prog 15, trying vers=3, prot=17 mount.nfs: trying x.x.x.x prog 15 vers 3 prot UDP port 635 nfs-v3-server:/path on /mnt type nfs (rw) ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: nfs-common 1:1.2.5-3ubuntu3.1 ProcVersionSignature: Ubuntu 3.2.0-70.105-generic 3.2.63 Uname: Linux 3.2.0-70-generic x86_64 ApportVersion: 2.0.1-0ubuntu17.8 Architecture: amd64 Date: Tue Nov 11 15:56:25 2014 InstallationMedia: Ubuntu-Server 10.04.2 LTS Lucid Lynx - Release amd64 (20110211.1) MarkForUpload: True ProcEnviron: SHELL=/usr/bin/ksh TERM=xterm PATH=(custom, no user) LANG=en_US SourcePackage: nfs-utils UpgradeStatus: Upgraded to precise on 2013-10-07 (400 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
Installing the testing package with this debdiff has resolved the issue, according to my testing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
** Changed in: nfs-utils (Ubuntu) Assignee: (unassigned) = Dave Chiluk (chiluk) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
I have built a test package with this commit for precise http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=9da66f8898a6 I have placed it http://people.canonical.com/~chiluk/lp1391662/ Unfortunately my environments do not have ipv6 name resolution adequately functioning to fully test this fix. @Tyler Sable - Can you test this and let me know if it resolves the issue you are seeing? Otherwise I will work next week to get ipv6 functional in my labs. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
** Patch added: Proposed debdiff https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+attachment/4260754/+files/lp1391662.debdiff ** Changed in: nfs-utils (Ubuntu) Importance: Undecided = Medium ** Changed in: nfs-utils (Ubuntu) Status: New = In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server
The attachment Proposed debdiff seems to be a debdiff. The ubuntu- sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the patch flag from the attachment, remove the patch tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391662 Title: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1391662/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs