[Bug 1391662] Re: mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server

2014-11-20 Thread Tyler Sable
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

2014-11-17 Thread Tyler Sable
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] [NEW] mount.nfs does not downgrade NFS version when connecting to dual-stack NFS server

2014-11-11 Thread Tyler Sable
Public bug reported:

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)

** Affects: nfs-utils (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug precise

** 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:
  
  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=2620:72:0:8c00::11,clientaddr=fe80::250:56ff:fe8b:28d7'
+ 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  
+ 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: 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
+  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/+subscription