Michael Gernoth wrote: > On Wed, Dec 23, 2009 at 01:51:01AM +0100, Frans Pop wrote: >> The following change in /etc/init.d/nfs-kernel-server fixes this: >> # See if our running kernel supports the NFS kernel server >> - if [ -f /proc/kallsyms ] && ! grep -qE 'init_nf(sd| )' >> /proc/kallsyms; then >> + if ! [ -d /sys/module/nfsd ]; then > > Only when nfsd is a module, not when it is compiled in: > $ grep NFSD /boot/config-2.6.32.2 > CONFIG_NFSD=y > $ ls -dl /sys/module/nfs* > drwxr-xr-x 3 root root 0 Dec 23 09:05 /sys/module/nfs > $
Right. Looks like that's already being discussed in #550153. > Testing for /proc/fs/nfs/exports could probably work everywhere. That's mentioned in the BR as well. Cheers, FJP -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org