tmp directory cleanup fails

Bug #1300474 reported by Brian Murray
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Undecided
Martin Pitt

Bug Description

I was using ubuntu-bug -w to report a bug about a window and noticed the following in my terminal.

bdmurray@clean-trusty-amd64:~$ ubuntu-bug -w
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/usr/lib/python3.4/shutil.py", line 452, in rmtree
    orig_st = os.lstat(path)
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/launchpadlib.cache.lmofbkk8'

This seems to be an error with apport and the changes to how it manages the launchpadlib cache.

Revision history for this message
Brian Murray (brian-murray) wrote :

I'm referring to the following change:

apport (2.14-0ubuntu1) trusty; urgency=medium

  * New upstream release:
    - Add KernelCrash reports when iwlwifi encounters a firmware error (via
      the "error_dump" uevent and the new iwlwifi_error_dump helper). Thanks
      Seth Forshee!
    - launchpad: Really use a temporary launchpadlib cache dir by default.
      This avoids piling up gigabytes of useless cached data over time, which
      also tends to break every now and then.
    - Fix crash in logind session detection. Thanks Dimitri Ledkov!
      (LP: #1296026)

 -- Martin Pitt <email address hidden> Mon, 31 Mar 2014 11:47:19 +0200

Changed in apport (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in trunk r2780.

Changed in apport (Ubuntu):
status: New → In Progress
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
apport (2.14.1-0ubuntu1) trusty; urgency=medium

  * New upstream bug fix release:
    - Fix FileNotFoundError from temporary launchpadlib cache dir cleanup.
      (LP: #1300474)
    - ui.py, open_url(): Skip any Python cleanup/atexit handlers in the forked
      xdg-open child, to avoid calling them twice. (Side issue of LP #1300474
      and #1282713)
    - apport-kde: Work around crash in sip by skipping the destructors of SIP
      objects. Thanks Rohan Garg! (LP: #1282713)
 -- Martin Pitt <email address hidden> Fri, 04 Apr 2014 15:34:06 +0100

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.