[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#638157: marked as done (nfs-kernel-server: attempt to mount -t nfs4 -o sec=krb5 hangs on squeeze, works with nfs-utils from testing)



Your message dated Mon, 13 May 2013 18:02:51 +0000
with message-id <E1Ubx5H-0003lV-8r@franck.debian.org>
and subject line Bug#638157: fixed in nfs-utils 1:1.2.8-2
has caused the Debian Bug report #638157,
regarding nfs-kernel-server: attempt to mount -t nfs4 -o sec=krb5 hangs on squeeze, works with nfs-utils from testing
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 owner@bugs.debian.org
immediately.)


-- 
638157: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638157
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: nfs-kernel-server
Version: 1:1.2.2-4
Severity: important

Hi, 

I observed the following after installing a Debian Squeeze network on
virtual machines:

After switching on sec=krb5 for the NFSv4 mounts, the mount process
hangs immeditely, it doesn't return at all:

root@workstation00:~# mount -t nfs4 -o sec=krb5 mainserver:/home0 /mnt

No error, nothing.  Ctrl-c brings you back to the command line.  The
same when logging in, as the automounter tries to mount the home
directory: After entering the password nothing happens.

I tried to find the reason and checked logs with rpc.gssd -fvvvv -rrr  
and rpc.svcgssd -fvvv, but could not find any indication there,
anything seems to work as expected.

I tried the kernel 2.6.38-bpo.2-686 from backports, same results.

Finally I installed the nfs-common and nfs-kernel-server from testing
on the nfs-server: 
ii  nfs-common         1:1.2.4-1
ii  nfs-kernel-server  1:1.2.4-1

And without further changes anything worked as expected.  Something
comparable (with some patch) is described here:
<URL:http://www.spinics.net/lists/linux-nfs/msg14723.html>, same
nfs-utils 1.2.2
 
It would be great if that could be fixed for squeeze.  If I can help
with more debug info, testing or full logs, please let me know.

Best regards,

     Andi



-- Package-specific info (after installing packages from backports/testing):
-- rpcinfo --
root@mainserver:~# rpcinfo
   program version netid     address                service    owner
    100000    4    tcp6      ::.0.111               portmapper superuser
    100000    3    tcp6      ::.0.111               portmapper superuser
    100000    4    udp6      ::.0.111               portmapper superuser
    100000    3    udp6      ::.0.111               portmapper superuser
    100000    4    tcp       0.0.0.0.0.111          portmapper superuser
    100000    3    tcp       0.0.0.0.0.111          portmapper superuser
    100000    2    tcp       0.0.0.0.0.111          portmapper superuser
    100000    4    udp       0.0.0.0.0.111          portmapper superuser
    100000    3    udp       0.0.0.0.0.111          portmapper superuser
    100000    2    udp       0.0.0.0.0.111          portmapper superuser
    100000    4    local     /var/run/rpcbind.sock  portmapper superuser
    100000    3    local     /var/run/rpcbind.sock  portmapper superuser
    100024    1    udp       0.0.0.0.217.30         status     103
    100024    1    tcp       0.0.0.0.227.137        status     103
    100024    1    udp6      ::.147.207             status     103
    100024    1    tcp6      ::.235.58              status     103
    100003    2    udp       0.0.0.0.8.1            nfs        superuser
    100003    3    udp       0.0.0.0.8.1            nfs        superuser
    100003    4    udp       0.0.0.0.8.1            nfs        superuser
    100227    2    udp       0.0.0.0.8.1            -          superuser
    100227    3    udp       0.0.0.0.8.1            -          superuser
    100003    2    tcp       0.0.0.0.8.1            nfs        superuser
    100003    3    tcp       0.0.0.0.8.1            nfs        superuser
    100003    4    tcp       0.0.0.0.8.1            nfs        superuser
    100227    2    tcp       0.0.0.0.8.1            -          superuser
    100227    3    tcp       0.0.0.0.8.1            -          superuser
    100021    1    udp       0.0.0.0.159.30         nlockmgr   superuser
    100021    3    udp       0.0.0.0.159.30         nlockmgr   superuser
    100021    4    udp       0.0.0.0.159.30         nlockmgr   superuser
    100021    1    tcp       0.0.0.0.191.167        nlockmgr   superuser
    100021    3    tcp       0.0.0.0.191.167        nlockmgr   superuser
    100021    4    tcp       0.0.0.0.191.167        nlockmgr   superuser
    100005    1    udp       0.0.0.0.192.8          mountd     superuser
    100005    1    tcp       0.0.0.0.212.240        mountd     superuser
    100005    1    udp6      ::.190.124             mountd     superuser
    100005    1    tcp6      ::.170.160             mountd     superuser
    100005    2    udp       0.0.0.0.232.249        mountd     superuser
    100005    2    tcp       0.0.0.0.136.54         mountd     superuser
    100005    2    udp6      ::.224.6               mountd     superuser
    100005    2    tcp6      ::.230.114             mountd     superuser
    100005    3    udp       0.0.0.0.227.84         mountd     superuser
    100005    3    tcp       0.0.0.0.195.233        mountd     superuser
    100005    3    udp6      ::.164.5               mountd     superuser
    100005    3    tcp6      ::.137.104             mountd     superuser
root@mainserver:~# 

-- /etc/default/nfs-kernel-server --
RPCNFSDCOUNT=8
RPCNFSDPRIORITY=0
RPCMOUNTDOPTS=--manage-gids
NEED_SVCGSSD=yes
RPCSVCGSSDOPTS="-vvv -rrr"

-- /etc/exports --
/srv/fai/nfsroot  10.0.0.0/8(async,ro,no_subtree_check,no_root_squash)
/srv/fai/config  10.0.0.0/8(async,ro,no_subtree_check,no_root_squash)
/srv/nfs4 10.0.0.0/8(sec=krb5p:krb5i:krb5:sys,rw,fsid=0,crossmnt,no_subtree_check)
/srv/nfs4/home0 10.0.0.0/8(sec=krb5p:krb5i:krb5:sys,rw,no_subtree_check)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: nfs-utils
Source-Version: 1:1.2.8-2

We believe that the bug you reported is fixed in the latest version of
nfs-utils, 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 638157@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Luk Claes <luk@debian.org> (supplier of updated nfs-utils 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 13 May 2013 19:46:42 +0200
Source: nfs-utils
Binary: nfs-kernel-server nfs-common
Architecture: source amd64
Version: 1:1.2.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: Luk Claes <luk@debian.org>
Description: 
 nfs-common - NFS support files common to client and server
 nfs-kernel-server - support for NFS kernel server
Closes: 638157 707908 707960 708156
Changes: 
 nfs-utils (1:1.2.8-2) unstable; urgency=medium
 .
   * Fix reportbug scripts to use rpcinfo in /usr/sbin.
   * Add id_resolver.conf to fix nfsidmap invocation
     (Closes: #708156, #638157, #707960).
   * Remove autogenerated roff as nfsdcltrack.man is meant to be used
     as the actual source according to author (Closes: #707908).
Checksums-Sha1: 
 b7b40569b221c91d88557b9a6023121ba5e7a021 2263 nfs-utils_1.2.8-2.dsc
 099ac2249faa5a02f4b375c487546e5a219a02cd 38033 nfs-utils_1.2.8-2.debian.tar.bz2
 f2ebfda07f46858c8683d2e41893d28307ad7aa1 144776 nfs-kernel-server_1.2.8-2_amd64.deb
 16945acdb8e4e3ceaadc330faf067df721a610aa 271020 nfs-common_1.2.8-2_amd64.deb
Checksums-Sha256: 
 ce374c1b5c32f84e7802e83e29e5089ef04665dd4b6e29a01aa927473ccb7540 2263 nfs-utils_1.2.8-2.dsc
 84e90889e401bc1b27b68677a61edfe7dd62d2243ed43f639dbca534a9972e92 38033 nfs-utils_1.2.8-2.debian.tar.bz2
 bac081bc4fbde32d1bb9ea582f02c399c50ec5fa1f94814e044f02b3b0bf1b6a 144776 nfs-kernel-server_1.2.8-2_amd64.deb
 a2b8aa1d4c123f71af347c8f37e2b56094b68fecee82de35c7a0e8b8f9b2f750 271020 nfs-common_1.2.8-2_amd64.deb
Files: 
 50a1e44f3afe830b5836b6d030986a37 2263 net standard nfs-utils_1.2.8-2.dsc
 4e5eca1f4ee4429b981e037b1c18a55e 38033 net standard nfs-utils_1.2.8-2.debian.tar.bz2
 439d9927e9b25f834f9d7ea701a81e03 144776 net optional nfs-kernel-server_1.2.8-2_amd64.deb
 8b0e68894293bd176f0abe8d7d5196d3 271020 net standard nfs-common_1.2.8-2_amd64.deb

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

iQIcBAEBCAAGBQJRkSjHAAoJECEnNxubsjBieJoP/i/uOvk54rZrqT/NOnl/Jt8g
G60f77s1MrY6cv5cfR3MWX2GgN3H5I6tsNaXkq34TW+L53nTJvnzMj3Y0yxZGwiq
kWaoQ+NI3QjFqMjxcyFgqJwM4jKoiYB3a/HCKetJC0m+XyN67OcqHRr0hI3IZ7y+
60oKv/1Wmmw3sYsUeVp5wb4ENt2ibqYi6V8tiq5ckSVHTN9uyCNqRfohWkP1vzXR
U9B+kBywCkrNSiyAzkn3hqZb6rtZFeGlJnFdBzFguLEzqG+srUSiDGvOFkT7D3cW
8r6mztrSBXgoDsS6HFYy9cpfKRY/PCANsrITqT/QUopVUvK5yKiZSxsNlS3B4VMz
08CNQ5/iUt1pvjd6PaztAJjagW8PMQFQmDkgTdiZMMm66o7YPov2ImlrhhkSSkBS
EGAM5sBefXMWJ36JxpLWd7GEixJsYOX7ebOap7reZ1YK17cG27qcajrkwYWc1tgE
MYoFlBZAffS6qgvkNJ7qZWRIlXuYLB0KMRo4KUl5CxCkBOa3j/MYWojqmRWmgzq1
j5TPzDBXBHcVWzSR8eKi95qXRNI5PeKhealntCY3EtmnqAqAN6Cb1OB3Rd9OFMVj
HFC8hbnFmWj/0Oz0+RML+d84H+jFf+ZJY8QMvZa02BgL/toqMn/srn+FTitE26K2
+kkjos/EwOXAqZf7AfHO
=g5AR
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: