Hi
Tested with the packages from noble-proposed repo, still crashing on my
test server:
root@ubuntu2404:~# dpkg -l |grep -i apparmor
ii apparmor 4.0.1really4.0.1-0ubuntu0.24.04.3
amd64 user-space parser utility for AppArmor
ii apparmor-profiles 4.0.1really4.0.1-0ubuntu0.24.04.3
all experimental profiles for AppArmor security policies
ii apparmor-utils 4.0.1really4.0.1-0ubuntu0.24.04.3
all utilities for controlling AppArmor
ii libapparmor1:amd64 4.0.1really4.0.1-0ubuntu0.24.04.3
amd64 changehat AppArmor library
ii python3-apparmor 4.0.1really4.0.1-0ubuntu0.24.04.3
all AppArmor Python3 utility library
ii python3-libapparmor 4.0.1really4.0.1-0ubuntu0.24.04.3
amd64 AppArmor library Python3 bindings
root@ubuntu2404:~# aa-enforce /etc/apparmor.d/*
Setting /etc/apparmor.d/1password to enforce mode.
Traceback (most recent call last):
File "/usr/sbin/aa-enforce", line 33, in <module>
tool.cmd_enforce()
File "/usr/lib/python3/dist-packages/apparmor/tools.py", line 134, in
cmd_enforce
for (program, prof_filename, output_name) in self.get_next_for_modechange():
File "/usr/lib/python3/dist-packages/apparmor/tools.py", line 97, in
get_next_for_modechange
aaui.UI_Info(_('Profile for %s not found, skipping') % output_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
An unexpected error occurred!
For details, see /tmp/apparmor-bugreport-x_b_qse5.txt
Please consider reporting a bug at https://gitlab.com/apparmor/apparmor/-/issues
and attach this file.
root@ubuntu2404:~#
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078467
Title:
aa-enforce /etc/apparmor.d/* - Error
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2078467/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs