/usr/bin/aa-notify:ModuleNotFoundError:/usr/bin/aa-notify@39

Bug #1899046 reported by errors.ubuntu.com bug bridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Fix Released
High
Emilia Torino

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding apparmor. This problem was most recently seen with package version 3.0.0~beta1-0ubuntu6, the problem page at https://errors.ubuntu.com/problem/69bb6832fe7b294bd7e2d75970fdc903f412c409 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Tags: groovy
Revision history for this message
Christian Boltz (cboltz) wrote :

The error is:

Traceback (most recent call last):
  File "/usr/bin/aa-notify", line 39, in <module>
    import psutil
ModuleNotFoundError: No module named 'psutil'

Looks like a missing dependency on python3-psutil (or whatever the package is named) in the package that contains aa-notify.

Revision history for this message
Steve Beattie (sbeattie) wrote :

That is correct (apparmor-notify package needs an added dependency on python3-psutil). We have an upload in progress to address it.

Thanks!

Changed in apparmor (Ubuntu):
status: New → In Progress
importance: Undecided → High
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Traceback (most recent call last):
  File "/usr/bin/aa-notify", line 39, in <module>
    import psutil
ModuleNotFoundError: No module named 'psutil'

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This has been uploaded to groovy and is currently in unapproved.

Changed in apparmor (Ubuntu):
status: In Progress → Fix Committed
assignee: nobody → Emilia Torino (emitorino)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apparmor - 3.0.0-0ubuntu1

---------------
apparmor (3.0.0-0ubuntu1) groovy; urgency=medium

  [ Alex Murray ]
  * Update to the final AppArmor 3.0 upstream release
    - d/apparmor.install:
      + install new aa-features-abi binary to /usr/bin
    - d/apparmor.manpages:
      + install new aa-features-abi.1 man page
    - d/apparmor-profiles.install:
      + install new usr.lib.dovecot.script-login
      + adjust for renamed postfix profiles
    - d/tests/test-installed:
      + include libraries/ in workdir so tests have access to private
        headers
    - Drop the following patches that were originally backported from
      upstream but are now incorporated in the final release:
      + d/p/parser-fix_cap_match.patch
      + d/p/policy-provide-example-and-base-abi-to-pin-pre-3.0-p.patch
      + d/p/parser-add-abi-warning-flags.patch
      + d/p/fix-tests-regression-apparmor-prologue-inc-settest.patch
      + d/p/fix-automatic-adding-of-rule-for-change-hat-iface.patch
      + d/p/fix-parser-to-emit-proc-attr-access-for-all-situations.patch
      + d/p/fix-change-profile-stack-abstraction.patch
      + d/p/ubuntu/stop-loading-snapd-profiles.patch

  [ Emilia Torino ]
  * d/control: adjust apparmor-notify to depends on python3-psutil and
    python3-apparmor (LP: #1899046)

  [ Steve Beattie ]
  * d/p/u/parser-Fix-warning-message-when-complain-mode-is-for.patch:
    Provide better message about caching not happening due to a profile
    being in force-complain mode. (LP: #1899218)

 -- Alex Murray <email address hidden> Sun, 11 Oct 2020 16:26:32 -0700

Changed in apparmor (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.