Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690138 - sys-apps/apparmor-utils - aa-logprof: Please consider reporting a bug
Summary: sys-apps/apparmor-utils - aa-logprof: Please consider reporting a bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Palimaka (kensington)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-18 09:37 UTC by Klaus Ethgen
Modified: 2019-08-04 12:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/tmp/apparmor-bugreport-p0abeeoy.txt (file_690138.txt,10.15 KB, text/plain)
2019-07-18 09:37 UTC, Klaus Ethgen
Details
emerge --info (file_690138.txt,7.41 KB, text/plain)
2019-07-18 09:38 UTC, Klaus Ethgen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Ethgen 2019-07-18 09:37:24 UTC
Created attachment 583376 [details]
/tmp/apparmor-bugreport-p0abeeoy.txt

~> aa-logprof   
Protokolleinträge von /var/log/messages werden gelesen.
AppArmor-Profile in /etc/apparmor.d werden aktualisiert.
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/aa-logprof", line 56, in <module>
    apparmor.do_logprof_pass(logmark)
  File "/usr/lib64/python3.6/site-packages/apparmor/aa.py", line 1816, in do_logprof_pass
    log = log_reader.read_log(logmark)
  File "/usr/lib64/python3.6/site-packages/apparmor/logparser.py", line 384, in read_log
    self.add_event_to_tree(event)
  File "/usr/lib64/python3.6/site-packages/apparmor/logparser.py", line 198, in add_event_to_tree
    e = self.parse_event_for_tree(e)
  File "/usr/lib64/python3.6/site-packages/apparmor/logparser.py", line 246, in parse_event_for_tree
    if profile != 'null-complain-profile' and not self.profile_exists(profile):
  File "/usr/lib64/python3.6/site-packages/apparmor/logparser.py", line 457, in profile_exists
    raise AppArmorBug('This should never happen, please open a bugreport!')
apparmor.common.AppArmorBug: This should never happen, please open a bugreport!


An unexpected error occoured!

For details, see /tmp/apparmor-bugreport-p0abeeoy.txt
Please consider reporting a bug at https://bugs.launchpad.net/apparmor/
and attach this file.

As I have no launchpad account and does not know where to get one from, and from the fact, that this is a gentoo system and not ubuntu, I report the bug here.
Comment 1 Klaus Ethgen 2019-07-18 09:38:04 UTC
Created attachment 583378 [details]
emerge --info
Comment 2 Michael Palimaka (kensington) gentoo-dev 2019-07-18 11:16:14 UTC
Which version of sys-apps/apparmor-utils is installed?
Comment 3 Klaus Ethgen 2019-07-18 11:53:23 UTC
[I] sys-apps/apparmor-utils
     Verfügbare Versionen:   ~2.13.1^t (~)2.13.2^t (~)2.13.2-r1^t {PYTHON_TARGETS="python3_5 python3_6"}
     Installierte Versionen: 2.13.2-r1^t(17:48:29 05.07.2019)(PYTHON_TARGETS="python3_6 -python3_5")
     Startseite:             https://gitlab.com/apparmor/apparmor/wikis/home
     Beschreibung:           Additional userspace utils to assist with AppArmor profile management
Comment 4 Michael Palimaka (kensington) gentoo-dev 2019-07-18 11:58:16 UTC
This is possibly fixed in 2.13.3 (https://gitlab.com/apparmor/apparmor/merge_requests/297/diffs). I'll try and bump it soon.
Comment 5 Michael Palimaka (kensington) gentoo-dev 2019-08-04 12:27:17 UTC
I've bumped 2.13.3 which should contain the fix. Sorry for the delay.