]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Imported Debian patch 1.2.1-3 debian/1%1.2.1-3
authorAnibal Monsalve Salazar <anibal@debian.org>
Thu, 14 Jan 2010 05:15:44 +0000 (16:15 +1100)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 14 Jul 2010 02:06:39 +0000 (03:06 +0100)
debian/changelog
debian/control
debian/nfs-kernel-server.init

index b2f008ff1681982510047024e9782c81b2c7aa48..faa81b3fcccceff6509871814b1daaf1d4b936e6 100644 (file)
@@ -1,3 +1,11 @@
+nfs-utils (1:1.2.1-3) unstable; urgency=low
+
+  * Change the reading of /proc/kallsyms
+    Closes: 561674, 554508
+  * nfs-kernel-server depends on nfs-common (= ${binary:Version})
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Thu, 14 Jan 2010 16:15:44 +1100
+
 nfs-utils (1:1.2.1-2) unstable; urgency=low
 
   * Go back to read /proc/kallsyms
index 8be6752a446979c30c4dbefa6c8bb1a1ddd87f79..5a43c3d46ab32412a30bd8ccf5b5ad174913203c 100644 (file)
@@ -9,7 +9,7 @@ Homepage: http://nfs.sourceforge.net/
 Package: nfs-kernel-server
 Priority: optional
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, nfs-common (>= 1:1.0.8-1), ucf, lsb-base (>= 1.3-9ubuntu3), libblkid1 (>= 1.39+1.40-WIP-2006.11.14+dfsg-2)
+Depends: ${shlibs:Depends}, ${misc:Depends}, nfs-common (= ${binary:Version}), ucf, lsb-base (>= 1.3-9ubuntu3), libblkid1 (>= 1.39+1.40-WIP-2006.11.14+dfsg-2)
 Provides: knfs, nfs-server
 Conflicts: knfs, nfs-server
 Replaces: knfs, nfs-server
index 4291e09e8d38959a6373409de9ae02ab3c84acbe..1da9b46137a2ec594974470d96fb51c7c0a58959 100644 (file)
@@ -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 -Eqm1 ' nfsd_.* *\[nfsd\]' /proc/kallsyms; then
+               if [ -f /proc/kallsyms ] && ! grep -Eq "[[:space:]]nfsd_open([[:space:]]|$)" /proc/kallsyms; then
                        log_warning_msg "Not starting $DESC: no support in current kernel."
                        exit 0
                fi