On Wed, Dec 17, 2014 at 11:43:15AM +0100, intrigeri wrote: > u wrote (17 Dec 2014 09:53:15 GMT) : > > Thus, reportbug should report in "System Information" if such an LSM is > > installed and active in the kernel boot options. > > Implementation-wise, for AppArmor the following test should report > true if, and only if, the AppArmor LSM is enabled: > > test -d /sys/module/apparmor > > (It tells nothing about whether the software against which a bug is > being reported is affected by AppArmor in any way, though, but that's > a very hard and, IMO, non-blocking problem.)
Many bugs reported to the Ubuntu bug database include dmesg, or filtered dmesg, and it has proven very useful in determining to what extent incorrect AppArmor policies can be blamed for specific problems, and more importantly, what the solution may be. (It's also been very useful for discovering which problems are likely hardware issues, e.g. due to failing hard drives.) Including, or offering to include, some AppArmor log messages may be a nice extension of this feature request. Thanks
signature.asc
Description: Digital signature