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

Laurent Bigonville bigon at debian.org
Sat Oct 7 18:18:23 UTC 2017


Le 07/10/17 à 17:03, Laurent Bigonville a écrit :
> On Fri, 22 Sep 2017 12:26:42 +0200 Laurent Bigonville 
> <bigon at debian.org> wrote:
>> [...]
>> 3. If you don't want to shell out, you could use the python selinux
>>     module to retrieve and display the informations (see my little
>>     example attached) there is however no guarantee that the
>>     python-selinux module is installed if selinux is enabled though.
>>     That means that reportbug will have to Depends/Recommends it. IMHO
>>     this is the most flexible way.
>> [...]
>>
>> I would probably for 3 if depending on the module is OK and we just a
>> one line telling: "LMS: SELinux: enabled - enforcing/permissive - Policy
>> name: foo"
> Here a patch that implements the SELinux part
>

Please find here the version 2 of my patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/selinux-devel/attachments/20171007/3fbc1eae/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-SELinux-status-in-the-bug-reports.patch
Type: text/x-patch
Size: 3074 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/selinux-devel/attachments/20171007/3fbc1eae/attachment.bin>


More information about the SELinux-devel mailing list