[Pkg-samba-maint] [samba] 03/04: Add reportbug script for samba-common, samba and winbind (Closes: #682861)
Mathieu Parent
sathieu at moszumanska.debian.org
Fri Jul 21 06:19:55 UTC 2017
This is an automated email from the git hooks/post-receive script.
sathieu pushed a commit to branch master
in repository samba.
commit e22e6b8bcae9b3fdf059d8878811c82b14585b65
Author: Mathieu Parent <math.parent at gmail.com>
Date: Fri Jul 21 06:13:43 2017 +0200
Add reportbug script for samba-common, samba and winbind (Closes: #682861)
---
debian/samba-common.bug-presubj | 11 +++++++++++
debian/samba-common.bug-script | 24 ++++++++++++++++++++++++
debian/samba.links | 2 ++
debian/winbind.links | 2 ++
4 files changed, 39 insertions(+)
diff --git a/debian/samba-common.bug-presubj b/debian/samba-common.bug-presubj
new file mode 100644
index 0000000..6846acc
--- /dev/null
+++ b/debian/samba-common.bug-presubj
@@ -0,0 +1,11 @@
+*** Please submit non packaging issue bugs to the Debian BTS and the upstream
+bugzilla (https://bugzilla.samba.org/) and put a reference to the bugzilla bug
+in the Debian bug report to ease bug triage for the maintainers. Thank you. ***
+
+When applicable:
+ * mention client type/OS + version
+ * does the problem occur with other clients?
+ * include a level 10 samba log
+ * steps to reproduce the problem
+ * does the problem occur with other versions of samba (oldstable, stable,
+ backports, testing, ...)
diff --git a/debian/samba-common.bug-script b/debian/samba-common.bug-script
new file mode 100755
index 0000000..2eac309
--- /dev/null
+++ b/debian/samba-common.bug-script
@@ -0,0 +1,24 @@
+#!/bin/bash -e
+
+cat <<EOF
+
+I can automatically include various information about your samba configuration
+in your bug report. This information may help to diagnose your problem.
+
+EOF
+
+for config in /etc/samba/smb.conf /etc/samba/dhcp.conf ; do
+ if [ -f $config ]; then
+ yesno "May I include your $config configuration file? [Y/n] " yep
+ if [ "$REPLY" = "yep" ]; then
+ echo "* $config present, and attached" >&3
+ echo "-- BEGIN ATTACHMENTS --" >&3
+ echo "$config" >&3
+ echo "-- END ATTACHMENTS --" >&3
+ else
+ echo "* $config present, but not attached" >&3
+ fi
+ else
+ echo "* $config not present" >&3
+ fi
+done
diff --git a/debian/samba.links b/debian/samba.links
new file mode 100644
index 0000000..f1bd152
--- /dev/null
+++ b/debian/samba.links
@@ -0,0 +1,2 @@
+/usr/share/bug/samba-common/presubj /usr/share/bug/samba/presubj
+/usr/share/bug/samba-common/script /usr/share/bug/samba/script
diff --git a/debian/winbind.links b/debian/winbind.links
new file mode 100644
index 0000000..7b4f486
--- /dev/null
+++ b/debian/winbind.links
@@ -0,0 +1,2 @@
+/usr/share/bug/samba-common/presubj /usr/share/bug/winbind/presubj
+/usr/share/bug/samba-common/script /usr/share/bug/winbind/script
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git
More information about the Pkg-samba-maint
mailing list