traceback on os.remove failure

Bug #1234908 reported by Jamie Strandboge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
click-apparmor (Ubuntu)
Fix Released
High
Jamie Strandboge
Saucy
Fix Released
High
Jamie Strandboge

Bug Description

I'm not sure what caused it, but I saw this in /var/log/upstart/click-apparmor.log:
Traceback (most recent call last):
  File "/usr/bin/aa-clickhook", line 155, in <module>
    sys.exit(main())
  File "/usr/bin/aa-clickhook", line 150, in main
    os.remove(os.path.join(apparmor_profiles, m))
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/apparmor/profiles/click_com.ubuntu.developer.webapps.webapp-facebook_webapp-facebook_1.0.3'

aa-clickhook should handle this more gracefully.

Tags: patch
Changed in click-apparmor (Ubuntu Saucy):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Jamie Strandboge (jdstrand)
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package click-apparmor - 0.1.11

---------------
click-apparmor (0.1.11) saucy; urgency=low

  * don't traceback on os.remove (LP: #1234908)
 -- Jamie Strandboge <email address hidden> Thu, 03 Oct 2013 14:46:54 -0500

Changed in click-apparmor (Ubuntu Saucy):
status: In Progress → 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.