* apport/ui.py: Fix test_run_report_bug_unpackaged_pid() to work with the
installed run-tests from the package as well.
* apport/crashdb_impl/launchpad.py: Ignore broken LP bug tasks instead of
crashing on them.
* apport/report.py, add_proc_info(): Report the AppArmor or SELinux context
in a new ProcAttrCurrent field, read from /proc/pid/attr/current.
Document it in doc/data-format.tex. The field will not be added if the
proc attribute cannot be read or isn't present. Thanks to Steve Beattie
for the patch and the suggestion!
* debian/local/setup-apport-retracer: Switch to intrepid.
* debian/local/setup-apport-retracer: Fix installation of python-apt. Also
install apt, to avoid library version mismatches to python-apt.
* debian/apport.default: Enable apport by default again, now that we have
working retracers.
* apport/report.py, test_add_gdb_info_script(): Use bash, not dash as test
program for core dumping; stack trace is awkwardly bad with dash, so that
the test case cannot really work any more.
* Add package-hooks/source_linux.py: Package hook for collecting kernel
related information. By Matt Zimmerman, thank you! (LP: #251441)
* debian/local/ubuntu-bug.1: Fix documentation of -p, it specifies the
binary package name, not the source.
* apport/packaging.py: Add get_kernel_package() to return the actual Linux
kernel package name; useful if the user reports a bug against just
"linux". Implement it in backends/packaging-apt-dpkg.py.
* apport/ui.py: "Do what I mean" when filing a bug against "linux" and
report it against the actual kernel package.
* debian/local/ubuntu-bug: If just one argument is given, infer -p/-P from
the type of the argument.
* apport/ui.py: Drop the PackageArchitecture field for the uploaded report
if it is equal to Architecture. Adapt apport/crashdb_impl/launchpad.py to
fall back to Architecture, and mention the change in doc/data-format.tex.
* problem_report.py, write_mime(): Add new "skip_keys" argument to filter
out keys. Add test cases.
* apport/crashdb_impl/launchpad.py: Do not write the "Date:" field on
upload(), and fetch it from the bug metadata in download().
* apport/crashdb_impl/launchpad.py, download(): Support reading bugs with
the "--- " separator instead of "ProblemType: ". Launchpad doesn't create
bugs that way ATM, but at least we have the reading part implemented now.
* package-hooks/source_linux.py: Drop Uname, ProcVersion, and
RunningKernelVersion fields, since they are all subsumed in the
ProcVersionSignature field.
* apport/ui.py, run_report_bug(): Strip spaces from package argument.
* apport/ui.py, add_hooks_info(): Collect OS info first, then call the
package hooks, so that the linux hook actually has a chance to delete the
Uname field.
* bin/kernel_hook, test-hooks: Throw away the original kernel hook which
we never used (and got superseded by the proper source_linux.py package
hook now). Replace it with the new logic of looking for
/var/crash/vmcore{,.log} and turning that into an apport report.
* debian/apport.init: Call kernel_hook if /var/crash/vmcore exists.
(LP: #241322)
* apport/ui.py: Collect information for "ProblemType: Kernel" as well, so
that we run the package hook. Adapt test suite to cover this.
* debian/control: Bump Standards-Version (no required changes).
* gtk/apport-gtk.glade, qt4/apport-qt: Generalize notification of kernel
crash, since it now happens after a boot, not right after the BUG/OOPS.
But in the future we want to cover both cases.
-- Martin Pitt <email address hidden> Tue, 05 Aug 2008 18:13:24 +0200
This bug was fixed in the package apport - 0.111
---------------
apport (0.111) intrepid; urgency=low
The "(Kernel) OOPS, I dumped it again!" release.
* apport/ui.py: Fix test_run_ report_ bug_unpackaged_ pid() to work with the crashdb_ impl/launchpad. py: Ignore broken LP bug tasks instead of attr/current. format. tex. The field will not be added if the local/setup- apport- retracer: Switch to intrepid. local/setup- apport- retracer: Fix installation of python-apt. Also apport. default: Enable apport by default again, now that we have gdb_info_ script( ): Use bash, not dash as test hooks/source_ linux.py: Package hook for collecting kernel local/ubuntu- bug.1: Fix documentation of -p, it specifies the packaging. py: Add get_kernel_ package( ) to return the actual Linux packaging- apt-dpkg. py. local/ubuntu- bug: If just one argument is given, infer -p/-P from crashdb_ impl/launchpad. py to format. tex. crashdb_ impl/launchpad. py: Do not write the "Date:" field on crashdb_ impl/launchpad. py, download(): Support reading bugs with hooks/source_ linux.py: Drop Uname, ProcVersion, and elVersion fields, since they are all subsumed in the Signature field. crash/vmcore{ ,.log} and turning that into an apport report. gtk.glade, qt4/apport-qt: Generalize notification of kernel
installed run-tests from the package as well.
* apport/
crashing on them.
* apport/report.py, add_proc_info(): Report the AppArmor or SELinux context
in a new ProcAttrCurrent field, read from /proc/pid/
Document it in doc/data-
proc attribute cannot be read or isn't present. Thanks to Steve Beattie
for the patch and the suggestion!
* debian/
* debian/
install apt, to avoid library version mismatches to python-apt.
* debian/
working retracers.
* apport/report.py, test_add_
program for core dumping; stack trace is awkwardly bad with dash, so that
the test case cannot really work any more.
* Add package-
related information. By Matt Zimmerman, thank you! (LP: #251441)
* debian/
binary package name, not the source.
* apport/
kernel package name; useful if the user reports a bug against just
"linux". Implement it in backends/
* apport/ui.py: "Do what I mean" when filing a bug against "linux" and
report it against the actual kernel package.
* debian/
the type of the argument.
* apport/ui.py: Drop the PackageArchitecture field for the uploaded report
if it is equal to Architecture. Adapt apport/
fall back to Architecture, and mention the change in doc/data-
* problem_report.py, write_mime(): Add new "skip_keys" argument to filter
out keys. Add test cases.
* apport/
upload(), and fetch it from the bug metadata in download().
* apport/
the "--- " separator instead of "ProblemType: ". Launchpad doesn't create
bugs that way ATM, but at least we have the reading part implemented now.
* package-
RunningKern
ProcVersion
* apport/ui.py, run_report_bug(): Strip spaces from package argument.
* apport/ui.py, add_hooks_info(): Collect OS info first, then call the
package hooks, so that the linux hook actually has a chance to delete the
Uname field.
* bin/kernel_hook, test-hooks: Throw away the original kernel hook which
we never used (and got superseded by the proper source_linux.py package
hook now). Replace it with the new logic of looking for
/var/
* debian/apport.init: Call kernel_hook if /var/crash/vmcore exists.
(LP: #241322)
* apport/ui.py: Collect information for "ProblemType: Kernel" as well, so
that we run the package hook. Adapt test suite to cover this.
* debian/control: Bump Standards-Version (no required changes).
* gtk/apport-
crash, since it now happens after a boot, not right after the BUG/OOPS.
But in the future we want to cover both cases.
-- Martin Pitt <email address hidden> Tue, 05 Aug 2008 18:13:24 +0200