Package: nfs-common
Version: 1:1.2.1-1
Severity: normal

Hum. Isn't this issue a question of portmap/statd interoperability?

It was duly noted here that the issue is that statd now tries to
connect to portmap through IPv6 instead of behaving normally. That
seems to be the core issue for me here and switching to rpcbind is
just a crude workaround.

I see 2 issues on the statd side:

 1. it connects to ::1 regardless of the -n setting
 2. it connects to ::1 without resorting to 127.0.0.1

Furthermore, it seems here that just disabling statd in the startup
script is *not* a sufficient workaround. One also needs to disable
locking on the filesystem, using -o nolock.

So I'll summarize the options here:

 Fix A: switch to rpcbind, which involves:

  1. [nfs-common pkg] needs rpcbind-ONLY dependency: we have to remove portmap 
dependency. (#562757)
  2. [rpcbind pkg] rpcbind lacks an init script (#563053)

 Fix B: fix statd to talk properly to portmap, which involves:

  1. respecting the -n setting or;
  2. also try 127.0.0.1 instead of just trying IPv6

There are similarly bound workarounds:

 Workaround A: make rpcbind work manually (I am not sure how to do that)

 Workaround B: disable rpc.statd:

  1. NEEDS_STATD=no in /etc/default/nfs-common
  2. use -o lock on NFSv3 mounts

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

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

Versions of packages nfs-common depends on:
ii  adduser                  3.112           add and remove users and groups
ii  initscripts              2.87dsf-8       scripts for initializing and shutt
ii  libc6                    2.10.2-3        Embedded GNU C Library: Shared lib
ii  libcomerr2               1.41.9-1        common error description library
ii  libevent-1.4-2           1.4.13-stable-1 An asynchronous event notification
ii  libgssapi-krb5-2         1.7+dfsg-4      MIT Kerberos runtime libraries - k
ii  libgssglue1              0.1-4           mechanism-switch gssapi library
ii  libk5crypto3             1.7+dfsg-4      MIT Kerberos runtime libraries - C
ii  libkrb5-3                1.7+dfsg-4      MIT Kerberos runtime libraries
ii  libnfsidmap2             0.23-2          An nfs idmapping library
ii  libtirpc1                0.2.0-2         transport-independent RPC library
ii  libwrap0                 7.6.q-18        Wietse Venema's TCP wrappers libra
ii  lsb-base                 3.2-23          Linux Standard Base 3.2 init scrip
ii  netbase                  4.40            Basic TCP/IP networking system
ii  portmap                  6.0.0-1         RPC port mapper
ii  rpcbind                  0.2.0-2         converts RPC program numbers into 
ii  ucf                      3.0025          Update Configuration File: preserv

nfs-common recommends no packages.

nfs-common suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to