no idmapd for nfs4-clients
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nfs-utils (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
Quantal |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Hello!
Thought this one is bug-report for nfs-common. (And I really typed "ubuntu-bug nfs-common" - I'm innocent! I was redirected!)
I have a debian nfs-server that uses nfs4 and it isn't possible for ubuntu to use nfs4-mounts properly, because idmapd won't start although it's configured in /etc/default/
#######
$ cat /etc/default/
NEED_STATD=
STATDOPTS=
NEED_IDMAPD=yes
NEED_GSSD=
#######
A "ps aux" executed on both server and client shows that on the server rpc.idmapd is running, but on the client side it's not.
Executing rpc.idmapd on the client manually fails:
#######
$ sudo rpc.idmapd -fv
rpc.idmapd: libnfsidmap: using domain: localdomain
rpc.idmapd: libnfsidmap: loaded plugin /usr/lib/
rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: Opened /proc/net/
rpc.idmapd: Opened /proc/net/
rpc.idmapd: main: (/var/lib/
#######
Easy workaround: create that directory!
#######
$ sudo mkdir /var/lib/
#######
Unfortunately, this doesn't fix the problem on all ubuntu machines. I have three of them: A Powermac G4 with an Ubuntu 11.04 fallback Gnome 2.x-Desktop, a 64bit-machine as a HTPC with a minimal Ubuntu installation running XBMC and a netbook with Unity-Desktop. The first two do, the netbook doesn't. Could be a problem with WLAN (the netbook is not cable-connected) or the server configuration. Got to check a few things here…
But one thing's clear: As long as the package nfs-common doesn't create a /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: nfs-common 1:1.2.2-4ubuntu5
ProcVersionSign
Uname: Linux 2.6.38-9-powerpc ppc
Architecture: powerpc
Date: Wed Jun 1 21:39:56 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release powerpc (20101008)
ProcEnviron:
LANGUAGE=de_DE:en
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: nfs-utils
UpgradeStatus: Upgraded to natty on 2011-05-03 (28 days ago)
Changed in nfs-utils (Ubuntu): | |
status: | Invalid → Triaged |
importance: | Undecided → Medium |
Changed in nfs-utils (Ubuntu): | |
status: | Invalid → Triaged |
Changed in nfs-utils (Ubuntu): | |
status: | Triaged → Confirmed |
Changed in nfs-utils (Ubuntu): | |
status: | Confirmed → Triaged |
Hi there,
(the redirect is correct, nfs-utils is the source package that provides nfs-common :)
Why are you trying to run rpc.idmapd by hand? There is an upstart job, /etc/init/ idmapd. conf, which is meant to take care of starting idmapd for you at boot time. You can also run it by hand, with 'sudo service idmapd start'. This job automatically triggers the mounting of /var/lib/ nfs/rpc_ pipefs.