Your message dated Sun, 20 Oct 2013 15:23:22 +0000
with message-id <[email protected]>
and subject line Bug#651307: fixed in user-mode-linux 3.11-1um-1
has caused the Debian Bug report #651307,
regarding user-mode-linux: mounting of nfs fails with: bad mount option value 
specified: vers=4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
651307: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=651307
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: user-mode-linux
Version: 2.6.32-1um-4+35squeeze2
Severity: normal

Mounting of a nfs (v3) folder in an uml host fails with the following error:
# mount -v localhost:/srv /mnt
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Wed Dec  7 16:32:14 2011
mount.nfs: trying text-based options 
'vers=4,addr=127.0.0.1,clientaddr=127.0.0.1'
NFS: bad mount option value specified: vers=4
mount.nfs: mount(2): Invalid argument
mount.nfs: trying text-based options 
'vers=4,addr=127.0.0.1,clientaddr=127.0.0.1'
NFS: bad mount option value specified: vers=4
mount.nfs: mount(2): Invalid argument
mount.nfs: an incorrect mount option was specified

Manually specifying -o vers=3 as the mount parameter works around the issue.
When I manually recompile the kernel to include support for NFSv4 (I added both
nfs server and nfs client, but maybe only client would suffice) the problem
disappers (even though the folder is still exported as NFSv3). My guess is that
the mount.nfs helper expects (because it was built against the "normal" debian
kernel, which supports v4) that the kernel knows what v4 is and when that
assumption fails, it goes berserk.

I recommend includint the support for nfs4 in the uml kernel, to make it behave
more like the default kernel. This will fix the issue, but it still might be a
good idea to notify (nfs) upstream and let them know their that the mount helper
is not very "robust".

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages user-mode-linux depends on:
ii  libc6                       2.11.2-10    Embedded GNU C Library: Shared lib
ii  uml-utilities               20070815-1.1 User-mode Linux (utility programs)

user-mode-linux recommends no packages.

Versions of packages user-mode-linux suggests:
pn  rootstrap                     <none>     (no description available)
pn  slirp                         <none>     (no description available)
ii  user-mode-linux-doc           20060501-1 User-mode Linux (Documentation)
pn  vde2                          <none>     (no description available)
pn  x-terminal-emulator           <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: user-mode-linux
Source-Version: 3.11-1um-1

We believe that the bug you reported is fixed in the latest version of
user-mode-linux, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mattia Dongili <[email protected]> (supplier of updated user-mode-linux 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 20 Oct 2013 21:38:50 +0900
Source: user-mode-linux
Binary: user-mode-linux
Architecture: source amd64
Version: 3.11-1um-1
Distribution: unstable
Urgency: high
Maintainer: User Mode Linux Maintainers <[email protected]>
Changed-By: Mattia Dongili <[email protected]>
Description: 
 user-mode-linux - User-mode Linux (kernel)
Closes: 651307 712234
Changes: 
 user-mode-linux (3.11-1um-1) unstable; urgency=high
 .
   * New upstream release (Closes: #712234)
   * Add NFSv4 support (Closes: #651307)
Checksums-Sha1: 
 fe969df54f2235230aea53c72644e870a18b6e2d 1470 user-mode-linux_3.11-1um-1.dsc
 cbf1152366dd572b52cd63c25589a7130a7f07e6 27210 
user-mode-linux_3.11-1um.orig.tar.gz
 cd45fb302de0bd3a8cf2d10ce42ba82e45dd0a45 14895 
user-mode-linux_3.11-1um-1.diff.gz
 a9dc4eeb16825606385ffab831dd3f6d0f17729c 7221782 
user-mode-linux_3.11-1um-1_amd64.deb
Checksums-Sha256: 
 fa54b9b8b70701c1d9d70d12c91bbe43ceafc81681442a6dbcc469b91ee7c756 1470 
user-mode-linux_3.11-1um-1.dsc
 565be4d9975fc522db4088f678b7c3b24dab4b0e84588ae16d917c47687891e0 27210 
user-mode-linux_3.11-1um.orig.tar.gz
 c133a50c3e624a13613e303742e4ed3f73801f46f0068bdb1666f8ae9935e832 14895 
user-mode-linux_3.11-1um-1.diff.gz
 39ba3922a742b0ee2bc8ad7ef54296d9f264c809ff6616792258cd6f1976227e 7221782 
user-mode-linux_3.11-1um-1_amd64.deb
Files: 
 3bd4ea2322ba9493746dc3fdce833e80 1470 kernel extra 
user-mode-linux_3.11-1um-1.dsc
 02192252bdd93da01d71710ebd5fbb0c 27210 kernel extra 
user-mode-linux_3.11-1um.orig.tar.gz
 b95582bc5685c49ad28c5605a0d7eab0 14895 kernel extra 
user-mode-linux_3.11-1um-1.diff.gz
 576bec7d139e6ab6471c8f51cc20cba6 7221782 kernel extra 
user-mode-linux_3.11-1um-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iEYEARECAAYFAlJj50sACgkQgpRPaOotLEGygACgxydD08YlfG2rzBF7ZAyFm0vc
F94AoJBSSZA/GTg+AV6FyaObZ1uGq4PM
=sRUj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to