diff options
| author | Mathieu Parent <math.parent@gmail.com> | 2017-07-21 04:13:43 (GMT) |
|---|---|---|
| committer | Mathieu Parent <math.parent@gmail.com> | 2017-07-21 04:18:36 (GMT) |
| commit | e22e6b8bcae9b3fdf059d8878811c82b14585b65 (patch) | |
| tree | afb968b713089ff847b15d12734fc53b00b5ac1e | |
| parent | d5518bbdc71c4c6cd7bf51c80af2cb9f4b56b21d (diff) | |
Add reportbug script for samba-common, samba and winbind (Closes: #682861)
| -rw-r--r-- | debian/samba-common.bug-presubj | 11 | ||||
| -rwxr-xr-x | debian/samba-common.bug-script | 24 | ||||
| -rw-r--r-- | debian/samba.links | 2 | ||||
| -rw-r--r-- | debian/winbind.links | 2 |
4 files changed, 39 insertions, 0 deletions
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 |
