Ubuntu and Bug Reporting
I’ve been testing Breezy Badger for the last few weeks to do my bit to help out with the latest release. I have been very dissapointed with Ubuntu’s method of bug reporting and handling. To put it bluntly it absolutely sucks. Debian (which Ubuntu is derived from) has an absolutely kick ass bug tracking system and is one of the best projects that I have ever worked on in terms of being able to report, search, categorise and generally manage bugs. Ubuntu seems to make it hard to do all of these things.
Attempt 1 to report a bug
I upgraded to breezy and was having a problem with Gnome freezing on login. I tracked this down to the fact that I had specified programs to run at startup in the session widget. Removing these prevented Gnome from freezing at the splash screen for two minutes. I wanted to report this bug. I fired up reportbug (standard Debian way of reporting bugs) and typed out the bug report. Went to send it, reportbug dies. It reported that the bug report had been sent to ubuntu-users@lists.ubuntu.com but as of today (a week later) it still hasn’t appeared in the archives there. I tried running report bug several times, and repeatedly got the same error message. It was 1am at night so I gave up on reporting the bug and went to bed.
Looking at my outgoing mail logs seemed to indicate that no outgoing email messages were generated, despite reportbug printing a message telling me that the report had been sent to ubuntu-users@lists.ubuntu.com and copied to my email address.
Attempt 2
Several days after bug attempt to file a bug about Gnome freezing on startup I ran into a problem with the network manager applet. Specifically its right click menu lacks the standard applet options such as Move, Lock to Panel and Remove from Panel. This makes it incredibly difficult to customise your panel to your liking. Having given up on being able to use reportbug to file a bug, I resorted to loading up mozilla and browsing to the Ubuntu website, where they recommend on the bug reporting webpage that you to file bugs in the Ubuntu Bugzilla. I dislike bugzilla a fair amount, it’s clunky, hard to use and I have to register to be able to submit bugs. I hate to think how a new Linux user would fare trying to report a bug this way. Anyway, I resolved to ignore my prejudice against bugzilla and sign up anyway. I trolled through Bugzilla for a while, carefully checking as best I could to ensure that I wasn’t going to file a duplicate bug. In the process of all this searching I continually stumbled across references to bugs filed in Malone and Launchpad that were not present in Bugzilla but were referenced.
From what I understand of Malone and Launchpad they are meant to be all-knowing, all-seeing “applications” that draw together bug reports, patches and releases from every distribution on the planet to make the package maintainers job easier. From what I can see at the moment, all they are achieving is to fragment bug reports and increase the amount of work it takes for maintainers and bug submitters to make useful contributions.
Eventually I decided that the bug wasn’t already reported in Bugzilla or Malone and I filed my report. 7 days later I haven’t had a response and I’m not getting my hopes up that I’ll get one soon.
Attempt 3
I ran a dist-upgrade this morning and pulled down the latest batch of updates. This upgraded (among other things) Xorg and Gstreamer. After the upgrade I attempted to start rhythmbox, which failed to start, displaying an error message telling me that I needed to run gst-register. Other gnome audio applications such as CD Player also reported that my plugin registry was corrupt and I needed to run gst-register. This seemed like a relatively simply bug to me, gstreamer just needs to run gst-register in its postinst script and all will be well. How should I go about reporting this bug? reportbug fails, bugzilla is hard to use, clunky and appears to be ignored (I base this comment on looking at other bug reports, not just on the lack of response to the bug above). I decided to give reportbug another try.
Searching through bugzilla I found that the bug I am encountering had already been reported, a month ago. As of today there has been no response from the maintainer, although there are several “me too” comments and confirmation that the bug is caused by a broken print statement when reportbug tries to display an informational message. I fired up vi and hacked the reportbug code (written in python) to disable the print statement which is entirely informational and then tried to submit the bug again.
Whee, reportbug now runs without errors and completes successfully, displaying nice messages telling me my bug has been submitted and copied to my email address. Great, all is happy in Ubuntu land. NO. Looking at my outgoing mail logs again seems to indicate that despite appearances reportbug still failed to generate any email at all, or if it did, it was submitted directly to Ubuntu’s SMTP server rather than using my local MTA.
Conclusion
Reporting bugs in Ubuntu sucks. There is much confusion over what method to use, Bugzilla appears to be recommended on the website, however cursory examination of the Bugzilla database doesn’t show much activity happening. The reportbug script is buggy and completely fails to work by default, when fixed it doesn’t appear to actually send any email at all, and even if it did send email it appears to be sending it to a completely different location than the Ubuntu Bugzilla which is supposedly the recommended location for bug reports. To complicate things even further, bugs reported from within Canonical seem to be reported in Malone and Launchpad rather than Bugzilla.
To Ubuntu’s defense the website does mention that bug reporting is “currently in a state of flux” and to please use the Bugzilla in the meantime. However that page has not been updated since it was created in April this year, so bug reporting has been in a state of flux for a long time.
What makes this situation all the more painful for me is that Debian’s Bug Tracking System is so excellent. Why Ubuntu haven’t chosen to use this is a mystery to me! The Debian BTS supports:
- Email bug submission and manipulation of existing bug reports
- Bug assignment and categorisation via system defined tags
- Tagging of bugs into user definable categories
- Version support to track where and when a bug is fixed
- Pretty web interface
- Excellent integration with reportbug script
- Easy to use searching
- Integration with the entire Debian package management system
Just about all of these features are missing in Ubuntu’s current setup.
