~ubuntu-branches/ubuntu/intrepid/apport/intrepid-security

Viewing all changes in revision 111.

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2008-08-05 18:13:24 UTC
  • Revision ID: package-import@ubuntu.com-20080805181324-6uz8ts207fnn5bob
Tags: 0.111
The "(Kernel) OOPS, I dumped it again!" release.

* 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: