Change logs for apport source package in Precise

  • apport (2.0.1-0ubuntu17.15) precise-security; urgency=medium
    
      [ Marc Deslauriers ]
      * SECURITY UPDATE: path traversal vulnerability with hooks execution
        - Clean path in apport/report.py, added test to test/test_ui.py.
        - No CVE number
        - LP: #1648806
    
      [ Steve Beattie ]
      * SECURITY UPDATE: code execution via malicious crash files
        - Only offer restarting the application when processing a
          crash file in /var/crash in apport/ui.py, gtk/apport-gtk,
          and kde/apport-kde. Add testcases to test/test_ui.py,
          test/test_ui_gtk.py, and test_ui_kde.py.
        - No CVE number
        - LP: #1648806
    
     -- Marc Deslauriers <email address hidden>  Mon, 12 Dec 2016 07:34:52 -0500
  • apport (2.0.1-0ubuntu17.14) precise-proposed; urgency=medium
    
      * apport/ui.py: set "_MarkForUpload" field to False for cases where the
        apport report is damaged, about a not installed package, or when an
        error occurred processing the report. (LP: #1512902)
    
     -- Brian Murray <email address hidden>  Fri, 06 Nov 2015 07:30:12 -0800
  • apport (2.0.1-0ubuntu17.13) precise-security; urgency=medium
    
      * SECURITY FIX: When determining the path of a Python module for a program
        like "python -m module_name", avoid actually importing and running the
        module; this could lead to local root privilege escalation. Thanks to
        Gabriel Campana for discovering this and the fix!
        (CVE-2015-1341, LP: #1507480)
    
     -- Martin Pitt <email address hidden>  Thu, 22 Oct 2015 15:50:47 +0200
  • apport (2.0.1-0ubuntu17.12) precise-proposed; urgency=medium
    
      * Consistently intercept "report file already exists" errors in all
        writers of report files (package_hook, kernel_crashdump, and similar) to
        avoid unhandled exceptions on those. (LP: #1500450)
    
     -- Brian Murray <email address hidden>  Fri, 16 Oct 2015 15:32:12 -0700
  • apport (2.0.1-0ubuntu17.11) precise-proposed; urgency=medium
    
      * report.py, add_package_info(): Add "[origin: unknown]" tag to
        Package/Dependencies fields for a package whose origin cannot
        be determined. (LP: #1148116)
    
     -- Brian Murray <email address hidden>  Thu, 24 Sep 2015 12:48:19 -0700
  • apport (2.0.1-0ubuntu17.10) precise-security; urgency=medium
    
      * SECURITY FIX: kernel_crashdump: Enforce that the log/dmesg files are not a
        symlink.
        This prevents normal users from pre-creating a symlink to the predictable
        .crash file, and thus triggering a "fill up disk" DoS attack when the
        .crash report tries to include itself. Thanks to halfdog for discovering
        this! (CVE-2015-1338, part of LP #1492570)
      * SECURITY FIX: Fix all writers of report files to open the report file
        exclusively.
        Fix package_hook, kernel_crashdump, and similar hooks to fail if the
        report already exists. This prevents privilege escalation through symlink
        attacks. Note that this will also prevent overwriting previous reports
        with the same same. Thanks to halfdog for discovering this!
        (CVE-2015-1338, LP: #1492570)
      * debian/tests/upstream-system: Change directory to /tmp, so that tests
        actually run against the installed package.
    
     -- Martin Pitt <email address hidden>  Mon, 21 Sep 2015 11:58:45 +0200
  • apport (2.0.1-0ubuntu17.9) precise-security; urgency=medium
    
      * SECURITY UPDATE: When /proc/sys/fs/suid_dumpable is enabled, crashing a
        program that is suid root or not readable for the user would create
        root-owned core files in the current directory of that program.  Creating
        specially crafted core files in /etc/logrotate.d or similar could then
        lead to arbitrary code execution with root privileges.  Now core files do
        not get written for these kinds of programs, in accordance with the
        intention of core(5).
        Thanks to Sander Bos for discovering this issue!
        (CVE-2015-1324, LP: #1452239)
      * Add test case to ensure that users cannot inject arbitrary core dump file
        contents (CVE-2015-1325). This version is not affected, but having the
        test will ensure that backported changes don't introduce this
        vulnerability. (LP: #1453900)
      * test_signal_crashes(): Drop hardcoded /tmp/ path in do_crash(),
        test_nonwritable_cwd() uses a different dir.
    
     -- Martin Pitt <email address hidden>  Wed, 13 May 2015 13:58:17 +0200
  • apport (2.0.1-0ubuntu17.8) precise-proposed; urgency=medium
    
      [ Martin Pitt ]
      * report.py, add_gdb_info(): Check for truncated core dumps, and set
        UnreportableReason and raise an IOError on them. Handle this in
        apport-retrace and whoopsie-upload-all to fail properly instead of
        silently producing broken Stacktraces. (LP: #1354571)
     -- Brian Murray <email address hidden>   Tue, 28 Oct 2014 14:34:44 -0700
  • apport (2.0.1-0ubuntu17.7) precise; urgency=low
    
      * fix up apport reporting for linux-lts-raring kernels (LP: #1352829)
        - add links for linux-lts-trusty to the package to map those to
          the source_linux.py hooks.
     -- Andy Whitcroft <email address hidden>   Wed, 06 Aug 2014 13:20:34 +0100
  • apport (2.0.1-0ubuntu17.6) precise-security; urgency=low
    
      * SECURITY UPDATE: incorrect permissions on setuid process core dumps
        (LP: #1242435)
        - use correct permissions when writing the core file in data/apport,
          added test to test/test_signal_crashes.py.
        - Thanks to Martin Pitt for the patch!
        - CVE-2013-1067
     -- Marc Deslauriers <email address hidden>   Wed, 23 Oct 2013 13:04:37 -0400
  • apport (2.0.1-0ubuntu17.5) precise-proposed; urgency=low
    
      * fix up apport reporting for linux-lts-raring kernels (LP: #1229611)
       - generalise linux-meta* to linux* mapping so we do not have to add
         each backport kernel explicitly.
       - remove linux-lts-quantal hack which was introduced for when packages
         were shipped via the x-swap PPA and so there was no real source
         package in the archive.
       - add links for linux-lts-raring to the package to map those to
         the source_linux.py hooks.
       - add links for linux-lts-saucy to the package to map those to
         the source_linux.py hooks.
     -- Andy Whitcroft <email address hidden>   Tue, 24 Sep 2013 13:05:38 +0100
  • apport (2.0.1-0ubuntu17.4) precise-proposed; urgency=low
    
      * Enable suid_dumpable (core dumps of setuid binaries). This has
        always been safe for us, as we set a core pipe handler, but the
        kernel now protects against one not being set:
        http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-
        raring.git;a=blob;f=Documentation/sysctl/fs.txt;h=88152f214f48cb69c6
        43d4bf2ff2ac9a61ad2eb0;hb=HEAD (LP: #1194541).
     -- Evan Dandrea <email address hidden>   Tue, 25 Jun 2013 16:40:45 +0100
  • apport (2.0.1-0ubuntu17.3) precise-proposed; urgency=low
    
      * data/general-hooks/ubuntu.py: For package installation failures, build a
        DuplicateSignature from the package, version, and dpkg ErrorMessage,
        instead of using the whole dpkg terminal log. (LP: #1185515)
     -- Brian Murray <email address hidden>   Wed, 29 May 2013 13:13:25 -0700
  • apport (2.0.1-0ubuntu17.2) precise-proposed; urgency=low
    
      * data/general-hooks/cloud_archive.py,
        etc/apport/crashdb.conf.d/cloud-archive.conf: Add general hook and CrashDB
        configuration to redirect bug reports from packages from the Ubuntu Cloud
        Archive to the cloud-archive project on Launchpad (LP: #1168009).
     -- James Page <email address hidden>   Thu, 11 Apr 2013 16:36:41 +0100
  • apport (2.0.1-0ubuntu17.1) precise-proposed; urgency=low
    
      * bin/apport-bug: Explicitly set the PATH to that of ENV_SUPATH in
        /etc/login.defs and unset ENV and CDPATH. We need do this so that confined
        applications using ubuntu-browsers.d/ubuntu-integration cannot abuse the
        environment to escape AppArmor confinement via this script (LP: #1045986).
    
    apport (2.0.1-0ubuntu17) precise-proposed; urgency=low
    
      * Fix OSError crash in mark_report_upload(); regression from
        2.0.1-0ubuntu16.
    
    apport (2.0.1-0ubuntu16) precise-proposed; urgency=low
    
      * Ignore implausibly low addresses when computing
        StacktraceAddressSignature.  These are usually artifacts from gdb when not
        having debug symbols, and having too many of them prevents proper
        client-side duplicate detection and proper bucketing in daisy.
        Backported from trunk r2541. (LP: #1084996)
      * mark_report_upload(): Refresh the .upload stamps if a previous version of
        the report was already uploaded, but another instance of the problem
        happened since then. Thanks Brian Murray. Backported from trunk r2540.
        (LP: #1084296)
     -- Jamie Strandboge <email address hidden>   Mon, 17 Dec 2012 16:20:20 -0600
  • apport (2.0.1-0ubuntu17) precise-proposed; urgency=low
    
      * Fix OSError crash in mark_report_upload(); regression from
        2.0.1-0ubuntu16.
    
    apport (2.0.1-0ubuntu16) precise-proposed; urgency=low
    
      * Ignore implausibly low addresses when computing
        StacktraceAddressSignature.  These are usually artifacts from gdb when not
        having debug symbols, and having too many of them prevents proper
        client-side duplicate detection and proper bucketing in daisy.
        Backported from trunk r2541. (LP: #1084996)
      * mark_report_upload(): Refresh the .upload stamps if a previous version of
        the report was already uploaded, but another instance of the problem
        happened since then. Thanks Brian Murray. Backported from trunk r2540.
        (LP: #1084296)
     -- Martin Pitt <email address hidden>   Wed, 05 Dec 2012 10:08:53 +0000
  • apport (2.0.1-0ubuntu16) precise-proposed; urgency=low
    
      * Ignore implausibly low addresses when computing
        StacktraceAddressSignature.  These are usually artifacts from gdb when not
        having debug symbols, and having too many of them prevents proper
        client-side duplicate detection and proper bucketing in daisy.
        Backported from trunk r2541. (LP: #1084996)
      * mark_report_upload(): Refresh the .upload stamps if a previous version of
        the report was already uploaded, but another instance of the problem
        happened since then. Thanks Brian Murray. Backported from trunk r2540.
        (LP: #1084296)
     -- Martin Pitt <email address hidden>   Tue, 04 Dec 2012 10:51:30 +0000
  • apport (2.0.1-0ubuntu15.1) precise-security; urgency=low
    
      * bin/apport-bug: Explicitly set the PATH to that of ENV_SUPATH in
        /etc/login.defs and unset ENV and CDPATH. We need do this so that confined
        applications using ubuntu-browsers.d/ubuntu-integration cannot abuse the
        environment to escape AppArmor confinement via this script (LP: #1045986).
     -- Jamie Strandboge <email address hidden>   Mon, 17 Dec 2012 13:33:42 -0600
  • apport (2.0.1-0ubuntu15) precise-proposed; urgency=low
    
      * apport/ui.py: create a MarkForUpload field and set that to false for
        binaries that changed since the crash happened thereby preventing uploads
        to the crash database (LP: #1039220)
     -- Brian Murray <email address hidden>   Fri, 26 Oct 2012 15:17:13 -0700
  • apport (2.0.1-0ubuntu14) precise-proposed; urgency=low
    
      [ Brian Murray ]
      * data/general/ubuntu.py: check to see if a package installation duplicate
        signature has been encountered previously and if so prevent bug reporting
        (LP: #1007637)
    
      [ Martin Pitt ]
      * data/general-hooks/ubuntu.py: Add "package-from-proposed" tag if the
        installed package version is available from -proposed, but not from
        -security and -updates. Backported from Ubuntu branch r2088.
        (LP: #1050853)
     -- Martin Pitt <email address hidden>   Thu, 20 Sep 2012 21:45:51 +0200
  • apport (2.0.1-0ubuntu13) precise-proposed; urgency=low
    
      * apport_python_hook: Backport filtering of DBus NoReply errors from trunk.
        (LP: #1042970)
     -- Brian Murray <email address hidden>   Tue, 28 Aug 2012 14:42:35 -0700
  • apport (2.0.1-0ubuntu12) precise-proposed; urgency=low
    
      [ Martin Pitt ]
      * apport_python_hook: Fix UnicodeEncodeError crash with Python 2 for
        exceptions with non-ASCII characters. Backported from trunk r2426.
        (LP: #972436)
    
      [ Brian Murray ]
      * data/general-hooks/ubuntu.py: collect /etc/default/grub on systems where a
        package failed to install during when updating grub (LP: #1006633)
     -- Brian Murray <email address hidden>   Thu, 19 Jul 2012 10:53:25 -0700
  • apport (2.0.1-0ubuntu11) precise-proposed; urgency=low
    
      * data/package-hooks/source_linux.py: If we report against an -lts-quantal
        source package, move the source to "linux" and add a qa-kernel-lts-testing
        tag, as per kernel team request in LP: #1004101 . Add source package hook
        symlinks for source_linux-{,meta-}lts-quantal.py to source_linux.py.
      * data/apport: apport: Also treat a binary as modified if the /proc/pid/exe
        symlink does not point to an existing file any more. Backported from trunk
        r2406. (LP: #984944)
    
    apport (2.0.1-0ubuntu10) precise-proposed; urgency=low
    
      * debian/apport.install: Actually ship the native-origins.d directory, so
        that the previous bug fix for LP: #1004101 actually works.
    
    apport (2.0.1-0ubuntu9) precise-proposed; urgency=low
    
      [ Martin Pitt ]
      * data/apport: Ignore a crash if the executable was modified after the
        process started. This often happens if the package is upgraded and a
        long-running process is not stopped before. Patch cherry-picked from trunk
        r2296. (LP: #984944)
      * Add etc/apport/native-origins.d/lts-q-backports: Accept
        ppa:ubuntu-x-swat/q-lts-backport as official Ubuntu package repository, so
        that users can report bugs and crashes against the backported kernel and
        X.org stack. (LP: #1004101)
      * data/general-hooks/ubuntu.py: Do not assume that all reports have a
        ProblemType field. This will not be the case for updating a bug with
        "apport-collect". (LP: #1004029)
      * report.py: Do not change the SourcePackage: field if the binary package is
        not installed and does not exist. This fixes source package hooks to
        actually work in some cases where source and binary package names overlap.
        Patch cherry-picked from trunk r2332. (part of LP: #993810)
      * apport-gtk, apport-kde: Avoid collecting information twice in "bug update"
        mode. This caused a crash in cases where the source package in a bug
        report does not correspond to an installed binary package. Patch
        cherry-picked from trunk r2334. (LP: #993810)
    
      [ Brian Murray ]
      * data/general-hooks/ubuntu.py: block reporting of package install failures
        with error regarding 'not a debian format archive'. (LP: #1002535)
     -- Martin Pitt <email address hidden>   Thu, 28 Jun 2012 09:01:41 +0200
  • apport (2.0.1-0ubuntu10) precise-proposed; urgency=low
    
      * debian/apport.install: Actually ship the native-origins.d directory, so
        that the previous bug fix for LP: #1004101 actually works.
    
    apport (2.0.1-0ubuntu9) precise-proposed; urgency=low
    
      [ Martin Pitt ]
      * data/apport: Ignore a crash if the executable was modified after the
        process started. This often happens if the package is upgraded and a
        long-running process is not stopped before. Patch cherry-picked from trunk
        r2296. (LP: #984944)
      * Add etc/apport/native-origins.d/lts-q-backports: Accept
        ppa:ubuntu-x-swat/q-lts-backport as official Ubuntu package repository, so
        that users can report bugs and crashes against the backported kernel and
        X.org stack. (LP: #1004101)
      * data/general-hooks/ubuntu.py: Do not assume that all reports have a
        ProblemType field. This will not be the case for updating a bug with
        "apport-collect". (LP: #1004029)
      * report.py: Do not change the SourcePackage: field if the binary package is
        not installed and does not exist. This fixes source package hooks to
        actually work in some cases where source and binary package names overlap.
        Patch cherry-picked from trunk r2332. (part of LP: #993810)
      * apport-gtk, apport-kde: Avoid collecting information twice in "bug update"
        mode. This caused a crash in cases where the source package in a bug
        report does not correspond to an installed binary package. Patch
        cherry-picked from trunk r2334. (LP: #993810)
    
      [ Brian Murray ]
      * data/general-hooks/ubuntu.py: block reporting of package install failures
        with error regarding 'not a debian format archive'. (LP: #1002535)
     -- Martin Pitt <email address hidden>   Tue, 12 Jun 2012 09:52:27 +0200
  • apport (2.0.1-0ubuntu9) precise-proposed; urgency=low
    
      [ Martin Pitt ]
      * data/apport: Ignore a crash if the executable was modified after the
        process started. This often happens if the package is upgraded and a
        long-running process is not stopped before. Patch cherry-picked from trunk
        r2296. (LP: #984944)
      * Add etc/apport/native-origins.d/lts-q-backports: Accept
        ppa:ubuntu-x-swat/q-lts-backport as official Ubuntu package repository, so
        that users can report bugs and crashes against the backported kernel and
        X.org stack. (LP: #1004101)
      * data/general-hooks/ubuntu.py: Do not assume that all reports have a
        ProblemType field. This will not be the case for updating a bug with
        "apport-collect". (LP: #1004029)
      * report.py: Do not change the SourcePackage: field if the binary package is
        not installed and does not exist. This fixes source package hooks to
        actually work in some cases where source and binary package names overlap.
        Patch cherry-picked from trunk r2332. (part of LP: #993810)
      * apport-gtk, apport-kde: Avoid collecting information twice in "bug update"
        mode. This caused a crash in cases where the source package in a bug
        report does not correspond to an installed binary package. Patch
        cherry-picked from trunk r2334. (LP: #993810)
    
      [ Brian Murray ]
      * data/general-hooks/ubuntu.py: block reporting of package install failures
        with error regarding 'not a debian format archive'. (LP: #1002535)
     -- Martin Pitt <email address hidden>   Wed, 30 May 2012 09:26:08 +0200
  • apport (2.0.1-0ubuntu8) precise-proposed; urgency=low
    
      * apport-{gtk,kde}: Do not show the information collection progress dialog
        if the crash database does not accept this kind of report. In that case
        whoopsie will upload it in the background and the dialog is not necessary.
        Patch cherry-picked from trunk. (LP: #989698)
     -- Martin Pitt <email address hidden>   Fri, 18 May 2012 17:37:46 +0200
  • apport (2.0.1-0ubuntu7) precise-proposed; urgency=low
    
      * Fix (LP: #989779). Don't show the duplicate warning when we're just
        reporting to daisy.ubuntu.com.
     -- Evan Dandrea <email address hidden>   Fri, 27 Apr 2012 16:53:11 +0100
  • apport (2.0.1-0ubuntu6) precise-proposed; urgency=low
    
      * Cherry-pick from trunk:
        - hookutils.py, recent_logfile(): Use a default limit of 10000 lines and
          call "tail" instead of reading the whole file. This protects against
          using up all memory when there are massive repeated log messages.
          (LP: #984256)
        - apport-gtk: Do not assume that an icon requested for size 42 actually
          delivers size 42; some themes do not have this available and deliver a
          smaller one instead, causing overflows. Also, copy the image as
          gtk_icon_theme_load_icon() returns a readonly result which we must not
          modify. Fixes crashes when using themes other than the standard Ubuntu
          ones. (LP: #937249)
     -- Martin Pitt <email address hidden>   Fri, 20 Apr 2012 18:53:24 +0200
  • apport (2.0.1-0ubuntu5) precise-proposed; urgency=low
    
      * etc/apport/crashdb.conf: Disable Launchpad crash/kernel reports for the
        final release. Leave Apport running for whoopsie, though, so use the new
        mechanism for selective problem types.
      * Cherry-pick from trunk:
        - data/general-hooks/generic.py: Bump minimum free space requirement from
          10 to 50 MB. 10 is not nearly enough particularly for /tmp.
          (LP: #979928)
     -- Martin Pitt <email address hidden>   Wed, 18 Apr 2012 10:08:28 +0200
  • apport (2.0.1-0ubuntu4) precise; urgency=low
    
      * Cherry-pick from trunk:
        - data/dump_acpi_tables.py: Fix crash on undefined variable with
          non-standard tables. (LP: #982267)
        - backends/packaging-apt-dpkg.py: Fix crash if a package is installed, but
          has no candidates in apt. (LP: #980094)
        - Launchpad automatic translations update.
      * debian/control: Drop duplicated python-gi build dependency, thanks
        lintian.
     -- Martin Pitt <email address hidden>   Mon, 16 Apr 2012 16:29:04 +0200
  • apport (2.0.1-0ubuntu3) precise; urgency=low
    
      * Cherry-pick from trunk:
        - GTK UI tests: Ensure that there are no GLib/GTK warnings or criticals.
        - apport-gtk: Work around GTK crash when trying to set pixmap on an
          already destroyed parent window. (LP: #938090)
     -- Martin Pitt <email address hidden>   Fri, 13 Apr 2012 19:42:02 +0200
  • apport (2.0.1-0ubuntu2) precise; urgency=low
    
      * debian/general-hooks/ubuntu.py: if the package installation failure is
        from live media check to see that /cdrom, the real root filesystem, has
        enough free space
     -- Brian Murray <email address hidden>   Wed, 11 Apr 2012 15:41:01 -0700
  • apport (2.0.1-0ubuntu1) precise; urgency=low
    
      * New upstream bug fix release. Changes since our previous snapshot:
        - problem_report.py, write_mime(): Fix regression from version 1.95: Add a
          value as attachment if it is bigger than 1000 bytes, not if it is bigger
          than 100. (LP: #977882)
        - packaging-apt-dpkg.py: Avoid constructing and updating the apt.Cache()
          objects multiple times, to speed up retracing. Thanks Evan Dandrea.
          (LP: #973494)
     -- Martin Pitt <email address hidden>   Tue, 10 Apr 2012 15:38:11 +0200
  • apport (2.0-0ubuntu5) precise; urgency=low
    
      * Merge from trunk:
        - generic package hook: Also check /tmp for enough space. Thanks Brian
          Murray. (LP: #972933)
        - Automatic Launchpad translation updates.
     -- Martin Pitt <email address hidden>   Tue, 10 Apr 2012 07:34:08 +0200
  • apport (2.0-0ubuntu4) precise; urgency=low
    
      * debian/tests/upstream-system: Drop dead code.
      * debian/tests/upstream-system: Work around LP #972324 by unsetting TMPDIR
        for the tests.
      * Merge test fixes from trunk:
        - test_backend_apt_dpkg.py: Fix checks for the installation of -dbgsym
          packages. This should always happen, as the sandboxes have a ddeb apt
          source. Only make it conditional on the system apt sources in the "use
          system config" test.
        - test_report.py: Sleep a bit after calling our test crash script, to
          ensure the kernel has time to finish writing the core file.
     -- Martin Pitt <email address hidden>   Tue, 03 Apr 2012 14:17:38 +0200
  • apport (2.0-0ubuntu3) precise; urgency=low
    
      [ Martin Pitt ]
      * data/general-hooks/ubuntu.py: Do not capture stderr of lsb_release.
        (LP: #955111)
    
      [ Scott Moser ]
      * data/general-hooks/ubuntu.py: timeout on attempts to contact ec2 metadata
        service (LP: #855651)
     -- Martin Pitt <email address hidden>   Tue, 03 Apr 2012 06:58:07 +0200
  • apport (2.0-0ubuntu2) precise; urgency=low
    
      * debian/control: Make dh-apport Multi-Arch: foreign, so that it can
        satisfy cross-build-dependencies.
     -- Colin Watson <email address hidden>   Sat, 31 Mar 2012 02:29:55 +0100
  • apport (2.0-0ubuntu1) precise; urgency=low
    
      * New upstream release: This is the final 2.0 release, featuring the
        overhauled and simplified GUI, support for whoopsie-daemon, and
        client-side duplicate checking.
        - report.py, anonymize(): Only replace whole words, not substrings.
          (LP: #966562)
        - apport_python_hook.py: Fix filtering of
          org.freedesktop.DBus.Error.NoReply exceptions. (LP: #958575)
        - crashdb.py: When publishing the crash database, cut hash file names
          after quoting, to avoid that the quoting causes them to become too long.
          (LP: #968070) This also uncovered that known() did not actually find any
          signature which contained an URL-quoted character, therefore breaking
          client-side duplicate checking in a lot of cases. Double-quote the file
          name now, as urlopen() unquotes it.
        - Add a new crash database option "problem_types" and a CrashDatabase
          method "accepts(report)". This can be used to stop uploading particular
          problem report types to that database. E. g. a distribution might decide
          to not get "Crash" reports any more after release.  Document the new
          option in doc/crashdb-conf.txt.
        - ui.py: Do not upload a report if the crash database does not accept the
          report's type. This behaviour is not really correct, but necessary as
          long as we only support a single crashdb and have whoopsie hardcoded.
          Once we have multiple crash dbs, we need to not even present the data if
          none of the DBs wants the report. See LP #957177 for details.
          (LP: #968121)
        - ui.py: Do not short-circuit information collection if report already has
          a "DistroRelease" field, as the GUIs add that in some cases. Check for
          "Dependencies" instead. This fixes information collection for kernel
          problems (which now has a full GTK GUI test case). (LP: #968488)
      * Merge from trunk:
        - test_ui_gtk.py: Disable package hooks for the tests, as they might ask
          for sudo passwords and other interactive bits, and thus make the tests
          hang.
     -- Martin Pitt <email address hidden>   Fri, 30 Mar 2012 12:38:02 +0200
  • apport (1.95-0ubuntu1) precise; urgency=low
    
      [ Martin Pitt ]
      * New upstream release:
        - apport-gtk, apport-kde: When reporting a "system crash", don't say "...
          of this program version", but "...of this type", as we don't show a
          program version in the initial dialog
          (https://wiki.ubuntu.com/ErrorTracker#error) (LP: #961065)
        - problem_report.py, write_mime(): Do not put a key inline if it is bigger
          than 1 kB, to guard against very long lines. (LP: #957326)
        - etc/cron.daily/apport: Do not remove whoopsie's *.upload* stamps every
          day, only if they are older than a week. whoopsie comes with its own
          cron job which deals with them. Thanks Steve Langasek. (LP: #957102)
        - report.py, mark_ignore(): Fix crash if executable went away underneath
          us. (LP: #961410)
        - apport-gtk: Do not compare current continue button label against a
          translated string.  Instead just remember whether or not we can restart
          the application. (LP: #960439)
        - hookutils.py, command_output(): Add option to keep the locale instead of
          disabling it.
        - hookutils.py, command_output(): Actually make the "input" parameter
          work, instead of causing an eternal hang. Add tests for all possible
          modes of operation.
        - hooktuils.py: Change root_command_output() and
          attach_root_command_outputs() to disable translated messages
          (LC_MESSAGES=C) only as part of the command to be run, not already for
          the root prefix command. This will keep the latter (gksu, kdesudo, etc.)
          translated. (LP: #961659)
        - apport-gtk: Cut off text values after 4000 characters, as Gtk's TreeView
          does not get along well with huge values. KDE's copes fine, so continue
          to display the complete value there. (LP: #957062)
        - apport-gtk: Make details window resizable in bug reporting mode.
        - crashdb.py, known(): Check the address signature duplicate database if
          the symbolic signature exists, but did not find any result. (LP: #103083)
        - ui.py: Run anonymization after checking for duplicates, to prevent host
          or user names which look like hex numbers to corrupt the stack trace.
          (LP: #953104)
        - apport-gtk: Require an application to both have TERM and SHELL in its
          environment to consider it a command line application that was started
          by the user. (LP: #962130)
        - backends/packaging-apt-dpkg.py, _check_files_md5(): Fix double encoding,
          which caused UnicodeDecodeErrors on non-ASCII characters in an md5sum
          file. (LP: #953682)
        - apport-kde, apport-gtk: Only show "Relaunch" if the report has a
          ProcCmdline, otherwise we cannot restart it. (LP: #956173)
        - apport-gtk, apport-kde: Show the ExecutablePath while we're collecting
          data for the crash report. Thanks Evan Dandrea. (LP: #938707).
      * debian/copyright: Change to copyright format 1.0.
      * debian/control: Bump Standards-Version to 3.9.3.
    
      [ Brian Murray ]
      * data/general-hooks/ubuntu.py: use main.log to determine UpgradeStatus not
        apt.log (LP: #886111)
     -- Martin Pitt <email address hidden>   Thu, 22 Mar 2012 18:55:17 +0100
  • apport (1.94.1-0ubuntu2) precise; urgency=low
    
      * Merge from trunk:
        - ui.py: Ensure that the report file is readable by the crash reporting
          daemon after running through collect_info(). Thanks Evan Dandrea.
        - apport-gtk, apport-kde: Set the window title to the distribution name, as
          per http://wiki.ubuntu.com/ErrorTracker#error . Thanks Evan Dandrea.
          (LP: #948015)
        - test/run: Ignore obsolete packages on the system, to avoid breaking the
          GUI tests due to them.
        - hookutils.py, attach_alsa(): Add the full "pacmd list" output instead of
          just sinks and sources. Thanks David Henningsson.
        - apport-gtk: Fix handling of non-ASCII strings in message dialogs.
          (LP: #865394)
     -- Martin Pitt <email address hidden>   Fri, 09 Mar 2012 16:52:53 +0100
  • apport (1.94.1-0ubuntu1) precise; urgency=low
    
      * New upstream bug fix release. Changes since our previous snapshot:
        - apport-cli: Consistently handle unicode vs. byte arrays. (LP: #946207)
        - report.py, anonymize(): Fix crash when the hostname or user name contain
          non-ASCII characters. (LP: #945230)
        - packaging-apt-dpkg.py: Fix UnicodeDecodeError on unexpected md5sum output.
          (LP: #921037)
        - apport-gtk: Fix handling of non-ASCII strings in message dialogs.
          (LP: #620579)
     -- Martin Pitt <email address hidden>   Wed, 07 Mar 2012 14:47:31 +0100
  • apport (1.94-0ubuntu2) precise; urgency=low
    
      * Merge from trunk:
         - collect_info(): Do not assume that reports have a "ProblemType" field.
           This is not the case when updating a bug. (LP: #947519)
         - Re-enable inadvertently disabled "bug report for uninstalled package"
           test.
         - Update translations from Launchpad.
     -- Martin Pitt <email address hidden>   Tue, 06 Mar 2012 11:37:17 +0100
  • apport (1.94-0ubuntu1) precise; urgency=low
    
      [ Martin Pitt ]
      * New upstream release:
        - apport: Set the group of written reports to "whoopsie" if that group
          exists.
        - Fix tests to run properly against the system-installed modules and
          binaries.
        - test/run: Run under LC_MESSAGES=C to avoid test failures due to
          translated strings.
        - general-hooks/generic.py: Also attach xsession-errors for programs that
          link to libgtk-3.
        - launchpad.py: Properly handle "Expired" status, to avoid marking new
          bugs as duplicates of expired ones. (LP: #941854)
        - apport: Fix crash if the "whoopsie" group does not exist. (LP: #942326)
        - report.py, crash_signature(): Do not put "<module>" frames into Python
          crash signatures that happen outside of function/method calls. Fall back
          to the file/line number as a frame description instead. This will do a
          much better job at disambiguating e. g. different ImportError crashes.
          (LP: #920403)
        - Make "binary changed since the time of the crash" error message more
          comprehensible, thanks Paolo Rotolo. (LP: #942830)
        - crashdb.py, check_duplicate(): It can happen that a bug gets identified
          as being a duplicate of bug S by symbolic signatures and a duplicate of
          bug A by address signatures. Empirical evidence shows that this is due
          to the unavoidable jitter in stack traces (A and S not being identified
          as duplicates as their signatures differ slightly) and not a logic
          error. So instead of erroring out, duplicate all three bugs and keep the
          lowest number as the master ID. (LP: #943117)
        - Revert the usage of multiple nested threads during data collection, and
          switch back to only using one UI thread. The UI implementations can, and
          now do, decide between showing a spinner and showing a progress dialog
          in the ui_*_info_collection_progress() methods. This fixes libX11
          crashes when multiple UI threads do changes concurrently (LP: #901675),
          and also avoids multi-thread induced crashes in Pango (LP: #943661). The
          removal of the collect() method also fixes the new crashes in it.
          (LP: #942098, #939803)
        - ui.py, get_desktop_entry(): Fix crash on uninstalled package.
          (LP: #940984)
        - data/unkillable_shutdown: Fix crash on race condition when PID goes away
          while the report is created. (LP: #546369)
        - apport/hookutils.py, pci_devices(): Fix crash on unexpected lines from
          lspci. (LP: #904489)
        - Drop hardcoded "Ubuntu" words again which crept in with the whoopsie
          support merge. Use the DistroRelease: field.
        - apport-kde: Fix Home page URL in KApplication metadata.
        - apport-gtk: Fix resizability and size after hiding details.
          (LP: #405418)
        - test/run: Drop "local" argument. This now tests against the source tree
          when run in the source tree root, and against the system
          libraries/programs when run from anywhere else.
        - test/run: Consider command line arguments as test names and only run
          those when given. Also support just running a single test.
        - testsuite: Force the skipping of online tests when $SKIP_ONLINE_TESTS is
          set.
        - hookutils.py, xsession_errors(): Add a reasonable default pattern which
          matches glib-style warnings, errors, criticals etc. and X window errors.
          In data/general-hooks/generic.py, call it with that default instead of
          the rather incomplete custom pattern. (LP: #932660)
        - packaging.py: Add get_package_origin() method, and implement it for
          apt-dpkg.
        - report.py, add_package_info(): Add "[origin: ...]" tag to "Package" and
          "Dependencies" fields for any package which is not native to the
          distribution. If any such package is present, tag the report with
          "third-party-packages" in data/general-hooks/generic.py. (LP: #927912)
        - apport/packaging.py: Add get_uninstalled_package() method as a helper
          method for the test suite. Use it instead of a hardcoded Debian/Ubuntu
          specific name in test/test_hooks.py.
        - test/test_ui_{gtk,kde}.py: Add test cases for complete UI workflow runs
          for reporting a bug against an installed/uninstalled package, and
          reporting a crash with and without showing details. This reproduces the
          recent crashes like LP #901675 or LP #943661.
        - test_ui.py: Add a test case for reporting a complete report on
          uninstalled package. This happens when reporting a problem from a
          different machine through copying a .crash file.
        - test/run: Add a test that there are no hardcoded "Ubuntu" words in the
          source. The code should use the DistroRelease: field or lsb_release.
      * debian/apport-retrace.install: Ship crash-digger. There is no reason any
        more not to, as it's now very easy to set up a retracer bot environment.
      * debian/apport.install: Install crash.{class,jar} into test suite
        directory, so that the test_java_crashes.py test can run.
      * debian/control: Tighten dependencies to ensure that we don't run a newer
        UI package against an older python-apport, which would cause crashes due
        to API mismatches. (LP: #939702)
      * Drop test/test_backend_rpm.py, as we also drop the RPM backend in the
        Ubuntu branch.
      * debian/rules: Update test suite invocation, the "local" argument is
        obsolete.
    
      [ Brian Murray ]
      * data/package-hooks/source_linux.py: add in ProcFB
     -- Martin Pitt <email address hidden>   Fri, 02 Mar 2012 15:32:07 +0100
  • apport (1.93-0ubuntu2) precise; urgency=low
    
      [ Martin Pitt ]
      * debian/control: Add python-launchpadlib and psmisc build dependencies for
        the test suite.
      * Merge from trunk:
        - apport: Set the group of written reports to "whoopsie" if that group
          exists.
    
      [ Brian Murray ]
      * data/package-hooks/source_ubiquity.py: prevent reporting of bugs where
        there was an I/O error with the disk being installed to or from
        (LP: #874727)
     -- Martin Pitt <email address hidden>   Thu, 23 Feb 2012 17:54:54 +0100
  • apport (1.93-0ubuntu1) precise; urgency=low
    
      * New upstream bug fix release:
        - apport-gtk: Fix crash on nonexisting icon. Thanks Evan Dandrea.
          (LP: #937354)
        - ui.py, open_url(): Revert back to calling sudo instead of dropping
          privileges ourselves; with the latter, calling firefox as the sudo'ing
          user fails. (LP: #916810, #938128)
        - ui.py: Fix aborting with "AssertionError" if the report is already
          known, but without an URL. (LP: #938778)
        - launchpad.py: If a bug is already known, but the report is private, do
          not send the report. There is little sense piling up lots of duplicates.
          (LP: #938700)
        - test/crash: Fix regression of test_crash_apport(), consider $TERM a
          non-sensitive variable.
        - ui.py: Fix test failures for data collection progress, they are not
          expected to happen for "ProblemType: Crash" any more (happens in the
          background during sending, or if user clicks on "Show Details").
        - test/hooks: Use a package from Debian/Ubuntu main, so that this works
          better during package builds on build servers.
        - test/python: Do not assume that /var/crash/ exists. Use /var/tmp/ for
          the fake binaries instead.
        - data/general-hooks/parse_segv.py: Fix test case name.
        - ui.py: Fix crash on invalid core dumps. (LP: #937215)
        - launchpad.py: Fix crash on unicode report titles. (LP: #896626)
        - apport-gtk: Show the most interesting fields first in the details view.
        - do-release: Call pyflakes and abort on errors other than unused imports.
        - Move all test suites out of the code modules into test/test_<module>.py.
          This avoids having to load it every time the program runs, and also
          allows running the tests against the installed version of Apport.
        - Clean up the other executable test script in test/* and change them to
          the same structure as the module tests.
      * debian/control: Add python-mock and GTK gir build dependencies for the
        gtk/kde tests.
      * debian/control: Add procps dependency to avoid a "command not found" error
        for killall in the ubuntu.py general hook during the test suite.
      * debian/control: Add missing python-gi dependency to apport-gtk.
     -- Martin Pitt <email address hidden>   Thu, 23 Feb 2012 16:22:37 +0100
  • apport (1.92-0ubuntu1) precise; urgency=low
    
      [ Martin Pitt ]
      * New upstream release:
        - man/apport-bug.1: Mention where crash files are stored. Thanks David
          Kastrup.
        - hookutils.py, attach_hardware(): Sort ProcModules, thanks Brian Murray.
        - launchpad.py: Keep "Dependencies" attachment in duplicates. Thanks Brian
          Murray.
        - Reorganize the GNOME and KDE user interface to do the crash
          notifications and detail browser in a single dialog. Add test/gtk and
          test/kde tests to check expected dialog layout for different cases.
          Thanks Evan Dandrea!
        - Add support for the whoopsie-daisy crash reporting daemon by creating
          zero-byte .upload file stamps for crash reports. Thanks Evan Dandrea!
        - ui.py: Fix wrong creation of "~" folder instead of expanding it to home
          directory when using "Examine locally". Thanks Jason Conti!
          (LP: #909149)
        - Replace file() calls with open() for Python 3 compatibility. Thanks
          Colin Watson!
        - launchpad.py: Avoid sending tag names with upper case. (LP: #924181)
        - report.py, crash_signature_addresses(): Fix crash if report does not
          have "Signal".
        - apport-gtk: Fix resize handling of expander in details window. Thanks
          Thomas Bechtold! (LP: #930562)
        - Clean up unnecessary imports. Thanks Evan Dandrea!
      * debian/apport-kde.install: Ship new spinner.gif.
    
      [ Brian Murray ]
      * data/package-hooks/source_ubiquity.py: include kernel command line from
        ubiquity syslog in the report as InstallCmdLine
      * data/package-hooks/source_ubiquity.py: move apport-bug failures due to
        grub-installer to that package (LP: #878335)
      * debian/control: Add xvfb dependency so that the test suite can run the GUI
        tests.
     -- Martin Pitt <email address hidden>   Mon, 20 Feb 2012 16:55:29 +0100
  • apport (1.91-0ubuntu1) precise; urgency=low
    
      * New upstream release:
        - crashdb.py, check_duplicate(): If a crash has a signature but no
          existing duplicate in the DB, also check for an existing address
          signature duplicate in the DB.
        - apport-retrace: Use DistroRelease specific subdirectory of the cache dir
          for mapping a file to a package, as these maps are release specific.
        - packaging-apt-dpkg.py: Refresh Contents.gz cache if it is older than one
          day.
        - crashdb.py: Ensure that address_signature duplicate db table does not
          have multiple identical signatures by making it a primary key. Bump the
          db format to "3". Existing databases need to be migrated manually as
          SQLite does not allow adding a "PRIMARY KEY" constraint to existing
          tables.
        - crashdb.py: Do not add a new address signature entry if one already
          exists.
        - apport-cli: Fix UnicodeDecodeError on unicode report values.
          (LP: #275972)
        - launchpad.py: Only set bug task importance if it is undecided.
        - apport-retrace: Fix "an useful" typo. (LP: #911437)
        - report.py: Filter out frames which are internal kernel/glibc
          implementation details and not stable across duplicates. In particular,
          filter out __kernel-syscall() and the SSE stubs.
        - crashdb.py: Remove debugging leftover which completely disabled bug
          pattern checking.
        - report.py: Update reading AssertionMessage. Current (e)glibc turned
          __abort_msg from a simple static string into a struct.
        - Change permissions of .crash files from 0600 to 0640, so that /var/crash
          can be made g+s and crash handling daemons can access those.
        - Python exceptions: Blacklist DBus.Error.NoReply. It does not help to get
          these traces from the client-side application, you need the actual
          exception in the D-Bus server backend instead. (LP: #914220)
        - Support /etc/apport/whitelist.d/ similarly to /etc/apport/blacklist.d/,
          for cases like installer environments where only crashes of a few selected
          programs should be reported.
     -- Martin Pitt <email address hidden>   Wed, 18 Jan 2012 09:56:00 +0100
  • apport (1.90-0ubuntu2) precise; urgency=low
    
      [ Martin Pitt ]
      * debian/control: Move from transitional python-gobject to python-gi.
      * debian/control: Add gdb dependency to apport-retrace.
      * apport/crashdb.py: Remove debugging leftover which completely disabled bug
        pattern checking. Cherrypicked from trunk r2120.
    
      [ Brian Murray ]
      * data/general-hooks/ubuntu.py: improve match for hard disk errors
      * data/package-hooks/source_ubiquity.py: tag ubiquity bugs ubiquity-upgrade
      * data/package-hooks/source_linux.py: disable question regarding uploading
        oops to kerneloops.org
     -- Martin Pitt <email address hidden>   Fri, 13 Jan 2012 16:58:28 +0100
  • apport (1.90-0ubuntu1) precise; urgency=low
    
      * New upstream release: First beta release of 2.0 which introduces
        client-side duplicate checking.
        - report.py: Break out new method stacktrace_top_function() from
          standard_title(), so that other parts of the code can use this as well.
        - launchpad.net: When sending retraced results back to the bug report,
          update the topmost function in the bug title. (LP: #869970)
        - report.py, add_gdb_info(): Add a new field "StacktraceAddressSignature"
          which is a heuristic signature for signal crashes. This should be used
          if crash_signature() fails, i. e. the Stacktrace field does not have
          enough symbols. This can be used to check for duplicates on the client
          side, provided that the crash database server supports querying for
          these.  Do not expose this field when uploading to crash databases
          though, as it can be recomputed from the already existing information
          (ProcMaps and Stacktrace) and thus would just clutter the reports.
        - crashdb.py: Add a table "version" with the database format version. Add
          automatic upgrading to the most current format.
        - crashdb.py: Put address signatures from reports checked with
          check_duplicate() into the duplicate database, so that implementations
          of known() can check for these.
        - dupdb-admin: Add "publish" dupdb-admin command which exports the
          duplicate database into a set of text files suitable for WWW publishing.
        - crashdb.py: Add new method "known(report)" which can be implemented to
          check if the crash db already knows about the crash signature. If so,
          the report will not be uploaded, and instead the user will be directed
          to the existing report URL (if available), similar to bug patterns. The
          default implementation checks this format, if the crash database is
          initialized with a "dupdb_url" option pointing to the exported database.
        - launchpad.py: Override known() to check if the master bug is actually
          accessible by the reporter, and is not tagged with "apport-failed-retrace"
          or "apport-request-retrace"; otherwise file it anyway.
        - crash-digger: Add --publish-db option to conveniently integrate
          duplicate DB publication (similar to dupdb-admin publish) into retracer
          setups.
        - launchpad.py: Attach updated stack traces from a duplicate to the master
          bug if it failed retracing previously or has an "apport-request-retrace"
          tag. (LP: #869982)
        - apport-kde, apport-gtk: Support the "Annotation" field for custom dialog
          titles for "Crash" and "Package" problem types as well, not just for
          "Kernel". (LP: #664378)
        - backends/packaging-apt-dpkg.py: Fix another test case failure when ddeb
          repository is not enabled.
        - backends/packaging-apt-dpkg.py: Fix handling of explicit cache directory
          name when it is a relative path.
        - launchpad.py: Only query for bugs after 2011-08-01, to avoid timeouts.
        - ui.py: Also anonymize standard bug title. (LP: #893863)
        - launchpad.py: Current Launchpad cannot have private bugs which affect
          multiple projects. Fix test suite accordingly.
      * data/general-hooks/ubuntu.py: Fix crash if "apport" package is not
        installed, which might happen on local installs or running the test suite.
      * etc/default/apport: Re-enable Apport by default; we want reports early in
        Precise, and we also do not have unstable GNOME versions this time which
        have known problems. We also have client-side duplicate detection now
        which should mitigate the noise.
      * Drop debian/pyversions, debian/pycompat: Obsolete with dh_python2.
     -- Martin Pitt <email address hidden>   Thu, 24 Nov 2011 16:17:16 +0100
  • apport (1.26-0ubuntu1) precise; urgency=low
    
      * New upstream release:
        - backends/packaging-apt-dpkg.py: Port to current python-apt API.
        - hookutils.py: Fix path_to_key() to also work with unicode arguments.
        - test/crash: Exit successfully if apport is not enabled in the system.
          This allows packages to run the test suite during build.
        - report.py, add_proc_info(): Correctly handle "python -m <modulename>"
          programs as being interpreted and determine the appropriate module path.
        - Fix some import statements to also work for the system-installed test
          suite.
        - test/run: Fix testing data/general-hooks/parse_segv.py when called in
          system-installed mode.
        - apport/ui.py: Clean up test .crash file after test cases.
        - Fix tests when running as root.
        - setup.py: Fix crash when "javac -version" fails.
        - README: Update command for one-time enablement.
        - backends/packaging-apt-dpkg.py: Fix interleaving usage of
          install_packages() with other operations such as get_version(), by
          resetting the apt status after building and using the sandbox.
        - report.py test suite: Remove requirement that $USER is set, which makes
          it easier to run this from package build environments.
        - apport/ui.py, test/crash: Use "yes" as test process instead of "cat".
          The former is less likely to run already, and does not depend on having
          a stdin, so it runs better in test environments like autopkgtest.
        - backends/packaging-apt-dpkg.py: Fix tests if system does not have a
          dbgsym apt source.
        - Ignore a crash if gnome-session is running and says that the session is
          being shut down. These often die because X.org or other services are
          going away, are usually harmless, and just cause a lot of clutter in bug
          trackers.  (LP: #460932)
        - test/crash: Rewrite using Python's unittest, to be in line with other
          tests, and be easier to maintain and extend.
      * Add debian/tests/control and debian/tests/upstream-system:
        DEP-8/autopkgtest control file for running the upstream tests.
      * debian/control: Bump minimal Python version to 2.7, as the upstream trunk
        is now moving to Python 3 compatibility; some of the new syntax does not
        work with 2.6 yet.
      * debian/control: Update apport-retrace package description, apport-chroot
        is gone. Also drop the now obsolete Suggests.
      * debian/rules: Run tests during package build, but do not let them fail the
        build just yet. It will still take a while until all test suceed in the
        buildd environment.
      * debian/control: Add gdb and python-twisted-core build dependencies, so
        that the test suite can succeed.
      * debian/control: Move python-gobject and gir1.2-glib-2.0 dependencies from
        apport-gtk to apport, as our generic.py hook needs it. Also add them to
        build depends for the test suite.
      * debian/control: Add missing lsb-release dependency, used by
        Report.add_os_info().
      * debian/control: Add net-books build dependency, test suite uses "route" to
        determine whether or not to run the online tests.
     -- Martin Pitt <email address hidden>   Fri, 11 Nov 2011 11:32:49 +0100
  • apport (1.25-0ubuntu1) precise; urgency=low
    
      * New upstream release:
        - Add new response "Examine locally" to presenting the report details,
          which runs apport-retrace in the chosen mode in a terminal. This should
          be made available for crash reports if apport-retrace and a Terminal
          application are installed; add an abstrace UI method for this.
          (LP: #75901)
        - apport-gtk: Add "Examine locally..." button, and implement
          ui_run_terminal().
        - apport-cli: Add "Examine locally..." responses, and implement
          ui_run_terminal().
        - apport-cli: Greatly speed up displaying large reports. This also changes
          the format to avoid indenting each line with a space, and visually set
          apart the keys in a better way.
        - apport_python_hook.py: Move tests out of this file into test/python, to
          avoid having to parse the unit tests at each Python startup.
        - test/python: Also make tests work if Python hook is not installed in
          system's sitecustomize.py.
        - packaging.py: Add get_modified_conffiles() API, and implement it in
          packaging-apt-dpkg.py.
        - hookutils.py: Add attach_conffiles().
        - hookutils.py: Add attach_upstart_overrides().
        - launchpad.py: Remove "Ubuntu" in bug response, replace with "this
          software". (LP: #883234)
        - apport-kde: Rearrange order of imports to get intended error message if
          PyKDE is not installed.
        - packaging-apt-dpkg.py: Ignore hardening-wrapper diversions, to make
          gcc_ice_hook work if hardening-wrapper is installed.
        - apport_python_hook: Respect $APPORT_REPORT_DIR.
        - apport_python_hook: Limit successive crashes per program and user to 3
          per day, just like signal crashes. (LP: #603503)
        - packaging-apt-dpkg.py: Skip online tests when there is no default route.
        - ui.py: Fix test suite to not fail if system has some obsolete or
          non-distro packages.
     -- Martin Pitt <email address hidden>   Wed, 02 Nov 2011 20:45:08 -0400
  • apport (1.24-0ubuntu1) precise; urgency=low
    
      * New upstream release 1.23.1:
        - apport/crashdb.py: Ensure that duplicate table only has one entry per
          report ID.
        - apport-retrace: Pass correct executable path to gdb in --gdb with
          --sandbox mode.
        - apport-retrace: Do not leave behind temporary directories on errors.
        - apport-retrace: Drop assertion failure for existance of "Stacktrace".
          This isn't present in the case of gdb crashing, and there is not much we
          can do about it. This should not break the retracer.
        - apport/report.py: Unwind XError() from stack traces for the
          "StacktraceTop" field, as they take a significant part of the trace.
          This causes bugs to be duplicated which really have different causes.
      * New upstream release 1.24:
       - apport-retrace: Add --timestamp option to prepend a timestamp to log
         messages. This is useful for batch operations.
       - crash-digger: Call apport-retrace with --timestamps, to get consistent
         timestamps in log output.
       - hookutils.py: Add two new functions attach_gsettings_package() and
         attach_gsettings_schema() for adding user-modified gsettings keys to a
         report. (LP: #836489)
       - hookutils.py: Add new function in_session_of_problem() which returns
         whether the given report happened in the currently running XDG session.
         This can be used to determine if e. g. ~/.xsession-errors is relevant and
         should be attached.
       - backends/packaging-apt-dpkg.py, install_packages(): Also copy
         apt/sources.list.d/ into sandbox.
       - backends/packaging-apt-dpkg.py, install_packages(): Install apt keyrings
         from config dir or from system into sandbox. (LP: #856216)
       - packaging.py, backends/packaging-apt-dpkg.py: Define that
         install_packages() should return a SystemError for broken
         configs/unreachable servers etc., and fix the apt/dpkg implementation
         accordingly.
       - apport-retrace: Don't crash, just give a proper error message if servers
         are unreachable, or configuration files are broken. (LP: #859248)
       - backends/packaging-apt-dpkg.py: Fix crash when
         /etc/apport/native-origins.d contains any files. (LP: #865199)
       - hookutils, recent_logfile(): Fix invalid return value if log file is not
         readable. (LP: #819357)
       - test/crash: Fix race condition in the "second instance terminates
         immediately" check.
       - hookutils.py: Replace attach_gconf() with a no-op stub. It used static
         python modules like "gconf" which broke the PyGI GTK user interface, and
         gconf is rather obsolete these days.
       - ui.py, open_url(): Greatly simply and robustify by just using xdg-open.
         This already does the right thing wrt. reading the default browser from
         GNOME, KDE, XCE, and other desktops. (LP: #198449)
       - data/general-hooks/generic.py: Only attach ~/.xsession_errors if the bug
         is reported in the same XDG session as the crash happened. (LP: #869974)
       - Ignore crashes for programs which got updated in between the crash and
         reporting. (LP: #132904)
       - Special-case crashes of 'twistd': Try to determine the client program and
         assign the report to that, or fail with an UnreportableReason.
         (LP: #755025)
       - apport-gtk: In bug update mode, make details dialog resizable and fix
         default size. (LP: #865754)
       - apport-gtk: Fix crash if report does not have ProcCmdline. (LP: #854452)
       - hookutils.py, attach_wifi(): Anonymize ESSID and AP MAC from "iwconfig"
         output. (LP: #746900)
       - test/crash: Fix test failure if user is not in any system groups.
       - test/crash: Change to /tmp/ for test crash process, to fix failure if the
         user that runs the test suite cannot write into the current directory.
         (LP: #868695)
       - ui.py: Improve error message if package is not a genuine distro package.
         Thanks to Ronan Jouchet. (LP: #559345)
      * debhelper/dh_apport: Install debian/source.apport into the first binary
        package only, as per documentation. (LP: #687584)
      * debian/apport.upstart: Exit pre-start with 0 if apport is disabled, to
        avoid warning message about failed startup. (LP: #857086)
      * debian/control: Update Vcs-Bzr: for precise branch.
     -- Martin Pitt <email address hidden>   Wed, 19 Oct 2011 09:39:41 +0200
  • apport (1.23-0ubuntu3) oneiric; urgency=low
    
      * etc/default/apport: Disable for final Oneiric release.
     -- Martin Pitt <email address hidden>   Wed, 05 Oct 2011 16:41:07 +0200