Launchpad has imported 7 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=1001934.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2013-08-28T07:30:36+00:00 marcindulak wrote: Description of problem: With the default nfs-utils configuration on Fedora 19, a mount takes 15 sec delay. This may be a simple configuration issue but I didn't find any relevant documentation. The problem is present also on Rawhide. Version-Release number of selected component (if applicable): nfs-utils-1.2.8-3.0.fc19.i686 kernel-PAE-3.10.9-200.fc19.i686 systemd-204-9.fc19.i686 How reproducible: Steps to Reproduce: 1. yum -y remove nfs-utils; yum -y install nfs-utils 2. systemctl stop firewalld.service&& setenforce 0 3. echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 4. echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6 5. echo "/opt localhost(rw)" > /etc/exports 6. exportfs -rav 7. mkdir /root/opt 8. time mount -vt nfs localhost:/opt /root/opt -overs=4 Actual results: mount.nfs: timeout set for Tue Aug 27 XX:XX:XX 2013 mount.nfs: trying text-based options 'vers=4,addr=127.0.0.1,clientaddr=127.0.0.1' real 0m15.021s user 0m0.002s sys 0m0.008s In /var/log/messages kernel: RPC: AUTH_GSS upcall timed out. kernel: Please check user daemon is running. Expected results: mounts way below 1 sec. Additional info: The problem reported at https://ask.fedoraproject.org/question/30612/nfs-gss-problems-on-f19/ Possible workarounds: 1. start rpc.gssd on the client: systemctl enable nfs-secure.service systemctl start nfs-secure.service This results with "rpc.gssd: ERROR: gssd_refresh_krb5_machine_credential: no usable keytab entry found in keytab ..." in /var/log/messages 2. use -overs=3 when mounting from the client 3. blacklist the rpcsec_gss_krb5 module on the client: echo "blacklist rpcsec_gss_krb5" > /usr/lib/modprobe.d/dist-blacklist.conf reboot Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1277741/comments/0 ------------------------------------------------------------------------ On 2013-08-28T16:39:11+00:00 marcindulak wrote: (In reply to marcindulak from comment #0) > Description of problem: > > With the default nfs-utils configuration on Fedora 19, > a mount takes 15 sec delay. > This may be a simple configuration issue but I didn't find any relevant > documentation. The problem is present also on Rawhide. > > Version-Release number of selected component (if applicable): > > nfs-utils-1.2.8-3.0.fc19.i686 > kernel-PAE-3.10.9-200.fc19.i686 > systemd-204-9.fc19.i686 > > How reproducible: > > > Steps to Reproduce: > > 1. yum -y remove nfs-utils; yum -y install nfs-utils > 2. systemctl stop firewalld.service&& setenforce 0 > 3. echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6 > 4. echo 1 > /proc/sys/net/ipv6/conf/default/disable_ipv6 > 5. echo "/opt localhost(rw)" > /etc/exports > 6. exportfs -rav > 7. mkdir /root/opt > 8. time mount -vt nfs localhost:/opt /root/opt -overs=4 > > Actual results: > > mount.nfs: timeout set for Tue Aug 27 XX:XX:XX 2013 > mount.nfs: trying text-based options > 'vers=4,addr=127.0.0.1,clientaddr=127.0.0.1' > > real 0m15.021s > user 0m0.002s > sys 0m0.008s > > In /var/log/messages > > kernel: RPC: AUTH_GSS upcall timed out. > kernel: Please check user daemon is running. > > Expected results: > > mounts way below 1 sec. > > Additional info: > > The problem reported at > https://ask.fedoraproject.org/question/30612/nfs-gss-problems-on-f19/ > Possible workarounds: > > 1. start rpc.gssd on the client: > > systemctl enable nfs-secure.service > systemctl start nfs-secure.service > > This results with "rpc.gssd: ERROR: gssd_refresh_krb5_machine_credential: > no usable keytab entry found in keytab ..." in /var/log/messages > > 2. use -overs=3 when mounting from the client > > 3. blacklist the rpcsec_gss_krb5 module on the client: > > echo "blacklist rpcsec_gss_krb5" > /usr/lib/modprobe.d/dist-blacklist.conf echo "blacklist rpcsec_gss_krb5" >> /usr/lib/modprobe.d/dist- blacklist.conf > reboot Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1277741/comments/1 ------------------------------------------------------------------------ On 2013-10-06T14:37:25+00:00 Timothée wrote: You should use /etc/modprobe.d/ for custom configurations: echo "blacklist rpcsec_gss_krb5" > /etc/modprobe.d/blacklist-nfs-gss- krb5.conf Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1277741/comments/2 ------------------------------------------------------------------------ On 2013-11-12T11:36:34+00:00 Kamil wrote: I can confirm exactly the same problem in Fedora 20. Mounting NFS shares takes 15 seconds and these messages are printed to journal: > RPC: AUTH_GSS upcall timed out. > Please check user daemon is running. If I start rpcgssd.service, the mounts are instantaneous. A lot of people are hit by this problem, see: https://bbs.archlinux.org/viewtopic.php?pid=1312879 https://ask.fedoraproject.org/question/30612/nfs-gss-problems-on-f19/ http://joshuawise.com/kerberos-nfs https://wiki.archlinux.org/index.php/NFS#Client (or just google for that error message) Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1277741/comments/3 ------------------------------------------------------------------------ On 2013-11-12T13:40:10+00:00 Jeff wrote: Upstream patch posting: http://article.gmane.org/gmane.linux.nfs/59939 Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1277741/comments/4 ------------------------------------------------------------------------ On 2013-11-15T13:29:56+00:00 Jeff wrote: Revised upstream patch posting here: http://article.gmane.org/gmane.linux.nfs/60081 Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1277741/comments/5 ------------------------------------------------------------------------ On 2014-01-06T15:06:03+00:00 Jeff wrote: Backported versions of these patches have been merged into f19 and f20 kernels, so this should no longer be a problem there. Please reopen if this is still an issue. Reply at: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1277741/comments/6 ** Changed in: fedora Status: Unknown => Fix Released ** Changed in: fedora Importance: Unknown => Undecided -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1277741 Title: 15 sec timeout when mounting with nfs4 Status in linux package in Ubuntu: Fix Released Status in Fedora: Fix Released Bug description: With the default nfs-common configuration (rpc.gssd not running), there is a 15 second delay when mounting an NFSv4 filesystem. After setting NEED_GSSD=yes and starting rpc.gssd, there is no delay. I don't know exactly when this was introduced. I reproduced it in trusty, in saucy, and in precise with the lts-saucy kernel, but not in raring. The patch series fixing this was merged recently and will be in 3.14: http://article.gmane.org/gmane.linux.nfs/60081 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4b9a445e3eeb8bd9278b1ae51c1b3a651e370cd6 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=89f842435c630f8426f414e6030bc2ffea0d6f81 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6aa23d76a7b549521a03b63b6d5b7880ea87eab7 Not part of the original series, but there are a few fixes on top of those: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3396f92f8be606ea485b0a82d4e7749a448b013b https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e2f0c83a9de331d9352185ca3642616c13127539 https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=23e66ba97127ff3b064d4c6c5138aa34eafc492f Fedora and openSUSE have backported the fix to their 3.11-based kernels: http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f19&id=6142d53dbe77431a4cc54f7ec80413b06f4ab182 http://pkgs.fedoraproject.org/cgit/kernel.git/commit/?h=f20&id=a585abfb8457a34cf6a5e737aa5fd75dbfe2559b http://kernel.opensuse.org/cgit/kernel/commit/?h=openSUSE-13.1&id=b2c797e218e1b2694f3e5d2d470bed6fb1b82009 http://kernel.opensuse.org/cgit/kernel/commit/?h=openSUSE-13.1&id=b876acdd9ab5a5a81f7690ad0fc2f54ee83ac642 http://kernel.opensuse.org/cgit/kernel/commit/?h=openSUSE-13.1&id=b4901f2cf60e02895336b8bde254c0eef07c09dd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1277741/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

