-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apparmor aa-complain #26463
Comments
Apparently, /etc/apparmor and /etc/apparmor.d directories do not exist on my system. |
You can add packages or profiles like the
By default some profiles are already loaded (in my case it also includes lxc).
|
For me the current version 2.10 of apparmor-utils refuse to start either.
i managed to get it working by updating to version 2.10.2, but this made quite a rebuild :/ |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
hm, well. Nice to have and play around with at sometime, i guess :) |
I marked this as stale due to inactivity. → More info |
I think this was fixed by #93457 if not please complain. |
Issue description
Hello,
I've run into trouble w/ app armor.
# aa-complain `which ping`
Traceback (most recent call last):
File "/nix/store/5zxndn75gljwbpcr2mdh7arg71fllhzb-apparmor-utils-2.10/bin/.aa-complain-wrapped", line 17, in
import apparmor.tools
File "/nix/store/5zxndn75gljwbpcr2mdh7arg71fllhzb-apparmor-utils-2.10/lib/python2.7/site-packages/apparmor/tools.py", line 17, in
import apparmor.aa as apparmor
File "/nix/store/5zxndn75gljwbpcr2mdh7arg71fllhzb-apparmor-utils-2.10/lib/python2.7/site-packages/apparmor/aa.py", line 4345, in
if cfg['settings'].get('default_owner_prompt', False):
File "/nix/store/5zxndn75gljwbpcr2mdh7arg71fllhzb-apparmor-utils-2.10/lib/python2.7/site-packages/apparmor/config.py", line 27, in getitem
section_val = self.items(section)
File "/nix/store/3n3r10921c0mzfrq64hc4m2jzjk13qpr-python-2.7.13/lib/python2.7/ConfigParser.py", line 642, in items
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'settings'
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/nix/store/3n3r10921c0mzfrq64hc4m2jzjk13qpr-python-2.7.13/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/nix/store/5zxndn75gljwbpcr2mdh7arg71fllhzb-apparmor-utils-2.10/lib/python2.7/site-packages/apparmor/aa.py", line 128, in on_exit
debug_logger.debug('Exiting..')
AttributeError: 'NoneType' object has no attribute 'debug'
Error in sys.exitfunc:
Traceback (most recent call last):
File "/nix/store/3n3r10921c0mzfrq64hc4m2jzjk13qpr-python-2.7.13/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
File "/nix/store/5zxndn75gljwbpcr2mdh7arg71fllhzb-apparmor-utils-2.10/lib/python2.7/site-packages/apparmor/aa.py", line 128, in on_exit
debug_logger.debug('Exiting..')
AttributeError: 'NoneType' object has no attribute 'debug'
Technical details
# cat /etc/nixos/configuration.nix|grep app
security.apparmor.enable = true;
# nixos-version -a
17.03.1247.05126bc850 (Gorilla)
The text was updated successfully, but these errors were encountered: