[Reportbug-maint] Bug#773346: [pkg-apparmor] Bug#773346: reportbug should provide information about active LSM

Seth Arnold seth.arnold at canonical.com
Wed Dec 17 18:46:33 UTC 2014

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20141217/4780e7c2/attachment.sig>

More information about the Reportbug-maint mailing list