[DSE-Dev] Bug#773346: reportbug should provide information about active LSM
bigon at debian.org
Fri Oct 27 12:40:46 UTC 2017
Le 26/10/17 à 19:17, intrigeri a écrit :
>> I'm attaching the equivalent for AppArmor.
> Here's a cleaned up v2 (my initial patch had leftovers from a previous
> version that included the output of aa-enabled; now that I've stopped
> doing it I could simplify the code a bit).
> Thanks a lot to Christian Boltz for catching this and
> suggesting --quiet!
Oh you are using aa-enabled and not a python module instead.
I've done an other version of my patch that uses selinuxenabled and
getenforce tools (which are in a package installed in 99% of the cases
when using selinux).
This is a bit less elegant, but it seems to do the job and it has the
advantage of not requiring python-selinux.
I guess it's up to the maintainer to choose here.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2219 bytes
Desc: not available
More information about the SELinux-devel