From: Steinar H. Gunderson Date: Thu, 6 Apr 2006 11:31:48 +0000 (+0200) Subject: Imported Debian patch 1.0.7-9 X-Git-Tag: debian/1%1.0.7-9^0 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=ceb3481d56857ecd5cb83cd34973fb89090ff691 Imported Debian patch 1.0.7-9 --- diff --git a/debian/changelog b/debian/changelog index bbb9d29..5b74a34 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +nfs-utils (1:1.0.7-9) unstable; urgency=low + + * When checking for nfsd support in the kernel, check for init_nfsd + (which is a function) rather than nfsd_version (which is a variable); + kernels compiled without CONFIG_KALLSYMS_ALL=y have only the former. + (Closes: #361026) + + -- Steinar H. Gunderson Thu, 6 Apr 2006 13:31:48 +0200 + nfs-utils (1:1.0.7-8) unstable; urgency=low * Don't complain about missing sync/async for a read-only export. diff --git a/debian/nfs-kernel-server.init b/debian/nfs-kernel-server.init index 922b734..0cd93a0 100755 --- a/debian/nfs-kernel-server.init +++ b/debian/nfs-kernel-server.init @@ -64,7 +64,7 @@ case "$1" in do_modprobe nfsd # See if our running kernel supports the NFS kernel server - if [ -f /proc/kallsyms ] && ! grep -q nfsd_version /proc/kallsyms; then + if [ -f /proc/kallsyms ] && ! grep -q init_nfsd /proc/kallsyms; then echo "Not starting $DESC: no support in current kernel." exit 0 fi