Minimal testcase: Create a directory with the following two files:
# find -not -type d |xargs head -n1000
==> ./tunables/home <== @{HOMEDIRS}=/home/
#include <tunables/home.d/>
==> ./tunables/home.d/ubuntu <== @{HOMEDIRS}+=/home2/
Then run aa-logprof -d $minimal_testcase_directory -f emptylog ("emptylog" is just an empty file to avoid side effects from the "real" log)
Some quick testing indicates that aa-logprof (and probably all other aa-* tools) read the profile dir _recursively_. That's not what it should do...
BTW: You'll get a similar (slightly shorter) traceback if you remove the "#include <tunables/home.d/> line.
Minimal testcase:
Create a directory with the following two files:
# find -not -type d |xargs head -n1000
==> ./tunables/home <==
@{HOMEDIRS}=/home/
#include <tunables/home.d/>
==> ./tunables/ home.d/ ubuntu <== +=/home2/
@{HOMEDIRS}
Then run aa-logprof -d $minimal_ testcase_ directory -f emptylog
("emptylog" is just an empty file to avoid side effects from the "real" log)
Some quick testing indicates that aa-logprof (and probably all other aa-* tools) read the profile dir _recursively_. That's not what it should do...
BTW: You'll get a similar (slightly shorter) traceback if you remove the "#include <tunables/home.d/> line.