Hi Simon. Sorry for the difficulty you encountered. The specific traceback issue you encountered with aa-complain has been addressed in trusty in apparmor-utils and python3-apparmor 2.8.95~2430-0ubuntu5.2, so I'm closing this bug (it was also fixed upstream in the 2.9.2 and 2.10 releases).
Yes, the use of c-style #include and shell style # prefix for comments is a bit confusing. AppArmor 2.10 which will be in ubuntu 15.10 includes support for just using the keyword 'include' instead of "#include' (though the latter will still work). The "dhcpd.d" include is assuming the base path to look for included files and directories is /etc/apparmor.d/. In this case, the include references the directory /etc/apparmor.d/dhcpd.d/ which tells apparmor to include any files in that directory into the profile. However, the aa-complain tool before 2.8.95~2430-0ubuntu5.2 did not support including directories, which is why it crashed. Thanks! ** Changed in: apparmor (Ubuntu) Status: New => Fix Released ** Changed in: apparmor Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1453088 Title: isc-dhcp-server apparmor include To manage notifications about this bug go to: https://bugs.launchpad.net/apparmor/+bug/1453088/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs