]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Install bug scripts to ease debuging
authorLuk Claes <luk@debian.org>
Sun, 27 Mar 2011 16:28:04 +0000 (18:28 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 29 Mar 2011 03:34:12 +0000 (04:34 +0100)
debian/changelog
debian/nfs-common.bugcontrol [new file with mode: 0644]
debian/nfs-common.bugscript [new file with mode: 0644]
debian/nfs-kernel-server.bugscript [new file with mode: 0644]
debian/nfs-utils.bugcontrol [new file with mode: 0644]
debian/nfs-utils.bugpresubj [new file with mode: 0644]

index 1e88225cf1430569a857ad3e5553782904547fa8..b88d6e53775c426e9f3c7d8ce1aaa14d26938f50 100644 (file)
@@ -18,8 +18,9 @@ nfs-utils (1:1.2.3-1) unstable; urgency=low
       enctypes (258f10f) (Closes: #474037)
   * Make sure everything is shipped (inspired by #594933) 
   * nfs-common.init: Enable idmapd by default (Closes: #610363)
+  * Install bug scripts to ease debuging
 
- -- Luk Claes <luk@debian.org>  Mon, 21 Mar 2011 20:04:26 +0100
+ -- Luk Claes <luk@debian.org>  Sun, 27 Mar 2011 18:26:08 +0200
 
 nfs-utils (1:1.2.2-5) unstable; urgency=low
 
diff --git a/debian/nfs-common.bugcontrol b/debian/nfs-common.bugcontrol
new file mode 100644 (file)
index 0000000..100ec69
--- /dev/null
@@ -0,0 +1 @@
+report-with: nfs-kernel-server
diff --git a/debian/nfs-common.bugscript b/debian/nfs-common.bugscript
new file mode 100644 (file)
index 0000000..c50ec65
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+set -e
+
+echo '-- rpcinfo --' >&3
+rpcinfo -p >&3
+
+echo '-- /etc/default/nfs-common --' >&3
+cat /etc/default/nfs-common|grep -v -e '^\#' -e '^$' >&3
+
+echo '-- /etc/idmapd.conf --' >&3
+cat /etc/idmapd.conf|grep -v -e '^\#' -e '^$' >&3
+
+echo '-- /etc/fstab --' >&3
+cat /etc/fstab|grep nfs >&3
+
+echo '-- /proc/mounts --' >&3
+cat /proc/mounts|grep nfs >&3
diff --git a/debian/nfs-kernel-server.bugscript b/debian/nfs-kernel-server.bugscript
new file mode 100644 (file)
index 0000000..8f91a3f
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+echo '-- rpcinfo --' >&3
+rpcinfo -p >&3
+
+echo '-- /etc/default/nfs-kernel-server --' >&3
+cat /etc/default/nfs-kernel-server|grep -v -e '\#' -e '^$' >&3
+
+echo '-- /etc/exports --' >&3
+cat /etc/exports|grep -v -e '^\#' -e '^$' >&3
+
+echo '-- /proc/fs/nfs/exports --' >&3
+cat /proc/fs/nfs/exports >&3
diff --git a/debian/nfs-utils.bugcontrol b/debian/nfs-utils.bugcontrol
new file mode 100644 (file)
index 0000000..94abb72
--- /dev/null
@@ -0,0 +1 @@
+report-with: nfs-common nfs-kernel-server
diff --git a/debian/nfs-utils.bugpresubj b/debian/nfs-utils.bugpresubj
new file mode 100644 (file)
index 0000000..c8899e7
--- /dev/null
@@ -0,0 +1,6 @@
+You are about to report a bug in the source package. Unless this is about a
+build failure, this is probably not what you intend to do.
+
+If you want to report a bug in the NFS client, you should use the package
+name nfs-common. If you want to report a bug in the NFS server, you should
+use the package name nfs-kernel-server.