Add customized apport support to gdm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm (Ubuntu) |
Fix Released
|
Wishlist
|
Sebastien Bacher |
Bug Description
Binary package hint: gdm
We have set up some pretty handy automatic file collection stuff for Xorg, so when bugs are filed against an xorg package we have the files needed for debugging the problems.
A portion of the bugs filed against gdm actually are xorg bugs, and these get reassigned to xorg. However, since they were initially filed against gdm, they lack all the info we need to debug.
I would propose adding the xorg apport hook to gdm as well, as it will solve this problem.
Further, this will help with gdm, since it collects files like /var/log/
With this hook, you can utilize it for bug reporters in three ways:
* Automatically run when user encounters a crash (in theory*)
* ubuntu-bug gdm
* apport-collect <gdm-bug-number>
It is also possible to hook into apport via "Report a Problem" type links in GUI's (not doable for xorg, but maybe gdm or other gnome apps would like to have such a link...)
* - I found with xserver that it had its own signal handling I had to recode in order for segfaults to trigger apport correctly. So YMMV, but that would be a problem unrelated to this hook.
Related branches
Changed in gdm (Ubuntu): | |
assignee: | nobody → Sebastien Bacher (seb128) |
importance: | Undecided → Wishlist |
Here is an example debdiff of how you could implement this hook.
Note this is entirely untested.