Bug#561674: nfs-kernel-server: Test for NFS kernel server support in init script doesn't work for compiled in nfs support

2010-01-13 Thread John Wright
Hi Anibal, On Wed, Jan 13, 2010 at 02:35:56AM +, Aníbal Monsalve Salazar wrote: On Tue, Jan 12, 2010 at 06:38:42PM -0700, John Wright wrote: Unfortunately, /proc/fs/nfsd exists regardless of whether the kernel has nfsd support. (It's created in proc_root_init in fs/root/root.c, so

Bug#561674: nfs-kernel-server: Test for NFS kernel server support in init script doesn't work for compiled in nfs support

2010-01-13 Thread Joerg Dorchain
On Wed, Jan 13, 2010 at 02:35:56AM +, Aníbal Monsalve Salazar wrote: What do you think about the following check? if [ -f /proc/kallsyms ] ! grep -E ' nfsd_.* *\[nfsd\]' /proc/kallsyms; then Works for knfs as a modules. How about grep nfsd /proc/filesystems ? Bye, Joerg

Bug#561674: nfs-kernel-server: Test for NFS kernel server support in init script doesn't work for compiled in nfs support

2010-01-12 Thread John Wright
tags 561674 - patch thanks On Sat, Dec 19, 2009 at 03:17:29PM +0100, Elimar Riesebieter wrote: Package: nfs-kernel-server Version: 1:1.2.0-4.1 Severity: important Tags: patch Test for NFS kernel server support in init script doesn't work for compiled in nfs support. The attached patch

Bug#561674: nfs-kernel-server: Test for NFS kernel server support in init script doesn't work for compiled in nfs support

2010-01-12 Thread Aníbal Monsalve Salazar
On Tue, Jan 12, 2010 at 06:38:42PM -0700, John Wright wrote: Unfortunately, /proc/fs/nfsd exists regardless of whether the kernel has nfsd support. (It's created in proc_root_init in fs/root/root.c, so whenever /proc is mounted, it has /proc/fs/nfsd/.) Perhaps the right solution is going back

Bug#561674: nfs-kernel-server: Test for NFS kernel server support in init script doesn't work for compiled in nfs support

2009-12-19 Thread Elimar Riesebieter
Package: nfs-kernel-server Version: 1:1.2.0-4.1 Severity: important Tags: patch Test for NFS kernel server support in init script doesn't work for compiled in nfs support. The attached patch works for my kernels. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT