As per title AA genprof is throwing the following error:
ip-10-0-0-200:~ # aa-genprof /usr/sbin/sshd
Can't find include file rsyslog.d: No such file or directory
Running strace against this shows that the the folder “/etc/apparmor.d/rsyslog.d” can’t be found.
open("/etc/apparmor.d/rsyslog.d", O_RDONLY) = -1 ENOENT (No such file or directory)
This is looking to be missing folders from the AA install, has anyone else experienced this or is anyone able to test this on a local SLES machine?
This is a SLES 12 machine running on AWS.
AA software installed:
S | Name | Summary | Type
--+------------------------------+---------------------------------------------------------------------+-----------
i | apache2-mod_apparmor | AppArmor module for apache2 | package
| apparmor | AppArmor userlevel parser utility | srcpackage
i | apparmor | AppArmor | pattern
i | apparmor-docs | AppArmor Documentation package | package
i | apparmor-parser | AppArmor userlevel parser utility | package
i | apparmor-profiles | AppArmor profiles that are loaded into the apparmor kernel module | package
i | apparmor-utils | AppArmor User-Level Utilities Useful for Creating AppArmor Profiles | package
| libapparmor-devel | Development headers and libraries for libapparmor | package
i | libapparmor1 | Utility library for AppArmor | package
| libapparmor1-32bit | Utility library for AppArmor | package
| pam_apparmor | PAM module for AppArmor change_hat | package
| pam_apparmor-32bit | PAM module for AppArmor change_hat | package
i | patterns-sles-apparmor | AppArmor | package
| patterns-sles-apparmor-32bit | AppArmor | package
i | perl-apparmor | Perl interface for libapparmor functions | package
i | yast2-apparmor | YaST2 - Plugins for AppArmor Profile Management | package