/usr/sbin/aa-status:PermissionError:/usr/sbin/aa-status@194:cmd_verbose:get_profiles

Bug #1466768 reported by errors.ubuntu.com bug bridge
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
Fix Released
Low
Tyler Hicks
2.9
Fix Released
Low
Unassigned
apparmor (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding apparmor. This problem was most recently seen with version 2.9.2-0ubuntu1, the problem page at https://errors.ubuntu.com/problem/5c3e3307a91022d2f2a94070b537d321f1711d66 contains more details.

Tags: vivid wily
Tyler Hicks (tyhicks)
Changed in apparmor:
importance: Undecided → Low
status: New → In Progress
assignee: nobody → Tyler Hicks (tyhicks)
Revision history for this message
Tyler Hicks (tyhicks) wrote :

Pasting the Python traceback here for anyone that doesn't have access to the errors.ubuntu.com report:

Traceback (most recent call last):
  File "/usr/sbin/apparmor_status", line 194, in <module>
    commands[cmd]()
  File "/usr/sbin/apparmor_status", line 45, in cmd_verbose
    profiles = get_profiles()
  File "/usr/sbin/apparmor_status", line 92, in get_profiles
    for p in open(apparmor_profiles).readlines():
PermissionError: [Errno 13] Permission denied: '/sys/kernel/security/apparmor/profiles'

Steve Beattie (sbeattie)
Changed in apparmor:
milestone: none → 2.10
status: In Progress → Fix Committed
Revision history for this message
Steve Beattie (sbeattie) wrote :

AppArmor 2.10 has been released: https://launchpad.net/apparmor/2.10/2.10

Changed in apparmor:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apparmor - 2.10-0ubuntu2

---------------
apparmor (2.10-0ubuntu2) wily; urgency=medium

  * debian/patches/aa-status-dont_require_python3-apparmor.patch:
    make aa-status(8) work even when python3-apparmor is not installed,
    otherwise dh_apparmor postinst snippets can fail (LP: #1480492)
  * debian/control: make apparmor-utils depend on the same package
    version of python3-apparmor

 -- Steve Beattie <email address hidden> Fri, 31 Jul 2015 16:35:03 -0700

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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