Package: nfs-common
Version: 1:1.1.1-6

Hi,

on a system where the kernel modules nfs and nfs4 are not compiled in (e.g.
on a box acting only as a server), the initscript fails to mount 
/var/lib/nfs/rpc_pipefs which prevents idmapd to start.

Amusingly, after the initscript nfs-kernel-server was launched, manually
launching '/etc/init.d/nfs-common start' starts rpc.idmapd, which made the
problem difficult to debug.

I suggest this patch could solve the problem.

---
Signed-off by: Quentin Godfroy <[EMAIL PROTECTED]>
--- /etc/init.d/nfs-common-bak  2007-11-03 12:25:43.000000000 +0100
+++ /etc/init.d/nfs-common      2007-11-03 13:33:57.000000000 +0100
@@ -138,8 +138,7 @@ case "$1" in
 
        if [ "$NEED_IDMAPD" = yes ] || [ "$NEED_GSSD" = yes ]
        then
-           do_modprobe nfs
-           do_modprobe nfs4
+           do_modprobe sunrpc
            if do_mount rpc_pipefs $PIPEFS_MOUNTPOINT
            then
                if [ "$NEED_IDMAPD" = yes ]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to