apport-retrace does not modify the original report as expected with no option specified

Bug #1361242 reported by KDEUSER56 on 2014-08-25
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Undecided
Martin Pitt

Bug Description

Current behavior: When calling apport-retract and specifying a .crash file, apport-retrace tells me the following:
Usage: apport-retrace [options] <apport problem report | crash ID>

apport-retrace: error: you either need to do a local operation (-s, -g, -o) or supply an authentication file (--auth); see --help for a short help

Expected behavior: apport-retrace should modify the specified file, as indicated by the man page.

Demonstration: https://drive.google.com/file/d/0B-ihXi2hkCPfbEtVSDd5S2lVM0E/edit?usp=sharing
This demonstration was recorded on today's utopic iso.

I have installations of the last 3 ubuntu releases (saucy, trusty, utopic) and this bug affects all of them (though trusty is as of 14.04.1 and hasn't been upgraded since then).

Related branches

Martin Pitt (pitti) wrote :

Fixed in trunk r2845.

Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apport - 2.14.7-0ubuntu1

---------------
apport (2.14.7-0ubuntu1) utopic; urgency=medium

  * New upstream release:
    - Fix interpretation of core dump ulimits: they are in bytes, not KiB.
      (LP: #1346497)
    - apport-retrace: Don't require specifying an operation; default to
      updating the given .crash file. (LP: #1361242)
    - Write report even on UnreportableReasons, so that whoopsie can still
      upload them. (LP: #1360417)
    - apt/dpkg install_packages(): Write a "packages.txt" into sandbox root
      directory to keep track of installed packages and their versions.
      Prerequisite for LP #1352591.
    - apt/dpkg install_packages(): Avoid re-downloading/installing packages
      which are already installed into a permanent sandbox. Prerequisite for
      LP #1352591.
    - sandboxutils.py, make_sandbox(): Drop check for already existing files
      when dynamically resolving libraries and ExecutablePaths; with that,
      these packages would never get updated in a permanent sandbox. The new
      version tracking from above now takes care of that. (LP: #1352591)
    - Fix report.test_add_proc_info test to stop assuming that pid 1 is named
      "init", as one can specify a different one on the kernel command line.
    - 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)
 -- Martin Pitt <email address hidden> Fri, 29 Aug 2014 12:38:54 +0200

Changed in apport (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers