[DSE-Dev] Bug#773346: reportbug should provide information about active LSM

Laurent Bigonville bigon at debian.org
Fri Oct 27 15:22:02 UTC 2017


Le 27/10/17 à 14:40, Laurent Bigonville a écrit :
> Le 26/10/17 à 19:17, intrigeri a écrit :
>> intrigeri:
>>> 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.
I have rebased intrigeri patch above my the v3 (with the call to the 
tools instead of the python module) of mine
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-SELinux-status-in-the-bug-reports.patch
Type: text/x-patch
Size: 2228 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/selinux-devel/attachments/20171027/c83d902a/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-AppArmor-status-in-the-bug-reports-Closes-773346.patch
Type: text/x-patch
Size: 2134 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/selinux-devel/attachments/20171027/c83d902a/attachment-0001.bin>


More information about the SELinux-devel mailing list