From 5dbd1755c94caf3aa2648f61f1829329d2078b29 Mon Sep 17 00:00:00 2001 From: Luk Claes Date: Sun, 27 Mar 2011 18:28:04 +0200 Subject: [PATCH] Install bug scripts to ease debuging --- debian/changelog | 3 ++- debian/nfs-common.bugcontrol | 1 + debian/nfs-common.bugscript | 17 +++++++++++++++++ debian/nfs-kernel-server.bugscript | 14 ++++++++++++++ debian/nfs-utils.bugcontrol | 1 + debian/nfs-utils.bugpresubj | 6 ++++++ 6 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 debian/nfs-common.bugcontrol create mode 100644 debian/nfs-common.bugscript create mode 100644 debian/nfs-kernel-server.bugscript create mode 100644 debian/nfs-utils.bugcontrol create mode 100644 debian/nfs-utils.bugpresubj diff --git a/debian/changelog b/debian/changelog index 1e88225..b88d6e5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 21 Mar 2011 20:04:26 +0100 + -- Luk Claes 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 index 0000000..100ec69 --- /dev/null +++ b/debian/nfs-common.bugcontrol @@ -0,0 +1 @@ +report-with: nfs-kernel-server diff --git a/debian/nfs-common.bugscript b/debian/nfs-common.bugscript new file mode 100644 index 0000000..c50ec65 --- /dev/null +++ b/debian/nfs-common.bugscript @@ -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 index 0000000..8f91a3f --- /dev/null +++ b/debian/nfs-kernel-server.bugscript @@ -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 index 0000000..94abb72 --- /dev/null +++ b/debian/nfs-utils.bugcontrol @@ -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 index 0000000..c8899e7 --- /dev/null +++ b/debian/nfs-utils.bugpresubj @@ -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. -- 2.39.5