Package: nfs-kernel-server
Version: 1:1.1.0-3
Followup-For: Bug #248300

Hi,

I stumbled on this old bug report while investigating a similar problem:
sometimes umount fails with a "device is busy" after stopping nfs-kernel-server
and nfs-common.  After looking in /etc/init.d/nfs-kernel-server, it seems the
'exportfs -f' command which was added after this bug report was filed, is never
callled:

        if mountpoint -q /proc/nfs/nfsd
        then
            $PREFIX/sbin/exportfs -f
        fi

/proc/nfs/nfsd does not exist (at least not on kernel 2.6.18). Instead the
virtual filesystem for NFS is (now?) available at /proc/fs/nfsd. I replaced it
with the following:

        if mountpoint -q $PROCNFSD_MOUNTPOINT
        then
            $PREFIX/sbin/exportfs -f
        fi

Unfortunately, it doesn't fix my problem, so I'm not sure the command is
actually still doing anything useful anymore.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-4-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages nfs-kernel-server depends on:
ii  libblkid 1.39+1.40-WIP-2007.04.07+dfsg-2 block device id library
ii  libc6    2.5-10                          GNU C Library: Shared libraries
ii  libcomer 1.39+1.40-WIP-2007.04.07+dfsg-2 common error description library
ii  libgssap 0.11-1                          A mechanism-switch gssapi library
ii  libkrb53 1.6.dfsg.1-4                    MIT Kerberos runtime libraries
ii  libnfsid 0.19-0                          An nfs idmapping library
ii  librpcse 0.14-2                          allows secure rpc communication us
ii  libwrap0 7.6.dbs-13                      Wietse Venema's TCP wrappers libra
ii  lsb-base 3.1-23.1                        Linux Standard Base 3.1 init scrip
ii  nfs-comm 1:1.1.0-3                       NFS support files common to client
ii  ucf      3.001                           Update Configuration File: preserv

nfs-kernel-server recommends no packages.

-- no debconf information


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

Reply via email to