[PATCH] Autodetect if running an upstream kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apport
After some discussion on the Ubuntu kernel-team mailing list regarding the apport kernel hook, there was feedback that asking a bug reporter if they'd tested with the upstream kernel was slightly confusing and not ideal. For example, if apport detected a kernel oops and prompted the user to file the bug, the reporter won't know how to properly answer if this has been tested/confirmed with the upstream kernel at this point in time as they haven't been given any information as to the actual contents of the oops until later in the reporting process. It was suggested that auto detecting if the reporter is currently running an upstream kernel would be best, otherwise just provide an informational dialog asking them to test the upstream kernel later on and post their results as a comment in the bug.
The patch attached does the following:
1) Auto detect if the reporter is currently running an upstream kernel. If so, instruct them to report the issue upstream.
2) Move the check for running a non-Ubuntu kernel to earlier in the hook. Otherwise we force the reporter to go through a series of questions and answers only to be told they can not file the bug as it's not an official Ubuntu kernel.
3) Replace the yes/no ui question of "has this been tested upstream?" to just an informational dialog requesting they test the upstream kernel and post their results to the bug.
ProblemType: Bug
ApportLog:
apport (pid 9287) Fri Mar 5 11:42:19 2010: called for pid 2645, signal 6
apport (pid 9287) Fri Mar 5 11:42:19 2010: executable: /usr/bin/synergyc (command line "synergyc yoji")
apport (pid 9287) Fri Mar 5 11:42:20 2010: wrote report /var/crash/
Architecture: i386
CheckboxSubmission: 27199aa7e30bbcb
CheckboxSystem: 8baff8f3b5cdd90
Date: Fri Mar 5 12:41:31 2010
DistroRelease: Ubuntu 10.04
Package: apport 1.12.1-0ubuntu4 [modified: usr/share/
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apport
Uname: Linux 2.6.32-15-generic i686
Related branches
tags: | added: patch |
Changed in apport (Ubuntu): | |
status: | New → Fix Committed |
I've also pushed this to a branch:
https:/ /code.edge. launchpad. net/~leannogasa wara/ubuntu/ lucid/apport/ ubuntu
http:// bazaar. launchpad. net/~leannogasa wara/ubuntu/ lucid/apport/ ubuntu/ revision/ 1638