[Bug 235930] Re: rpc.idmapd needs nfsd.ko

Bug Watch Updater 235930 at bugs.launchpad.net
Thu Aug 11 06:22:11 UTC 2011


** Changed in: nfs-utils (Debian)
       Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/235930

Title:
  rpc.idmapd needs nfsd.ko

Status in “nfs-utils” package in Ubuntu:
  Fix Released
Status in “nfs-utils” package in Debian:
  Fix Released
Status in “nfs-utils” package in Gentoo Linux:
  Fix Released

Bug description:
  After starting nfs-common with NEED_IDMAPD=yes, I tried to mount an
  NFSv4 mount. The mount worked, but the ownerships were mapped to
  nobody/nogroup. I verified rpc.idmapd was running on both ends, which
  was the case. Next I killed rpc.idmapd and restarted it from the
  command line with debug output: "rpc.idmapd -fvvv". The result on the
  ubuntu side was pretty instructive:

  $ sudo rpc.idmapd -fvvv
  rpc.idmapd: libnfsidmap: using domain: localdomain

  rpc.idmapd: libnfsidmap: using translation method: nsswitch

  rpc.idmapd: Expiration time is 600 seconds.
  rpc.idmapd: nfsdopenone: Opening /proc/net/rpc/nfs4.nametoid/channel failed: errno 2 (No such file or directory)

  Indeed there was no directory nfs4.nametoid in /proc/net/rpc. As the
  /proc structure is generated by the kernel, I grepped the nfs kernel
  sources and found a reference in fs/nfsd/nfs4idmap.c. This is the nfs
  SERVER module! After modprobing that, I got the required directory,
  got idmapd to start without complaint, and got my mount with correct
  user mapping.

  So it seems that even an NFSv4 client would need nfsd.ko loaded. More
  precisely, idmapd needs it, so /etc/init.d/nfs-common should modprobe
  it whenever it hat NEED_IDMAPD=yes.

  ProblemType: Bug
  Architecture: i386
  Date: Fri May 30 03:41:08 2008
  DistroRelease: Ubuntu 8.04
  NonfreeKernelModules: nvidia
  Package: nfs-common 1:1.1.2-2ubuntu2.1
  PackageArchitecture: i386
  ProcEnviron:
   SHELL=/bin/bash
   PATH=/home/username/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
   LC_MESSAGES=C
   LANG=de_DE.utf8
   LC_CTYPE=de_DE.utf8
  SourcePackage: nfs-utils
  Uname: Linux 2.6.24-17-generic i686

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/235930/+subscriptions




More information about the foundations-bugs mailing list