To update the AppArmor profiles required to run Kaspersky Endpoint Security:
systemctl status apparmor/etc/init.d/apparmor statuscd /etc/apparmor.d
aa-genprof /opt/kaspersky/kesl/libexec/kesl
kesl-control --start-task 1
kesl-control --start-task 4 -W
kesl-control --start-task 5 -W
kesl-control --start-task 6 -W
It is recommended to run all tasks that you plan to run while using Kaspersky Endpoint Security.
After that, the Kaspersky Endpoint Security profile for the AppArmor system is generated in /etc/apparmor.d/ directory. Profile file name is unique for each installation (for example, var.opt.kaspersky.kesl.10.1.1.5960_1537783807.opt.kaspersky.kesl.libexec.kesl).
You can define the created profile manually, or by executing the command:
basename /etc/apparmor.d/*kesl*
aa-complain <Kaspersky Endpoint Security profile file name>
aa-logprof
Specify the Allow or Glob permissions for all files that Kaspersky Endpoint Security used during this period.
aa-enforce <Kaspersky Endpoint Security profile file name>
If new audit messages related to Kaspersky Endpoint Security appear, the rules module file needs to be updated.
For additional information, please refer to the documentation on the relevant operating system.
Page top