[Reportbug-maint] Bug#703678: reportbug is not derivative-friendly, at least not when using a web bugtracker
hertzog at debian.org
Fri Mar 22 08:44:27 UTC 2013
reportbug should have a sane default behaviour when run on Debian
derivatives. It should not fallback to sending bug reports to Debian
when the machine is clearly not a Debian machine.
Derivatives should only have to fork base-files and update the information
there to get a sane behaviour. When putting correct information
in /etc/os-release and /etc/dpkg/origins/default, reportbug should
be able to decide what to do with a bug report.
┗(524)$ cat /etc/os-release
PRETTY_NAME="Kali GNU/Linux 1.0"
┗(525)$ cat /etc/dpkg/origins/default
┗(530)$ reportbug apt
*** Welcome to reportbug. Use ? for help at prompts. ***
Will send report to Kali (per lsb_release).
Kali bug tracking system has no web URL; bypassing query
Report will be sent to "Debian Bug Tracking System" <submit at bugs.debian.org>
Submit this report on apt (e to edit) [y|n|a|c|E|i|l|m|p|q|d|t|s|?]?
Really, reportbug should have noticed that this is not Debian and that Kali
is using a web-based bugtracker. As such reportbug can't send its bug report
by mail. Instead it should warn the user that the proper way to report
a bug is to go visit http://bugs.kali.org. It would offer to continue
in --template mode so that the user has the required information ready to
paste in his web-based bugreport.
BTW, I don't think that reportbug gains much by using lsb_release to
gather distro information. Right now it's not working well (see #703677)
and furthermore parsing /etc/os-release is easy and you already parse
More information about the Reportbug-maint