[DSE-Dev] Bug#773346: reportbug should provide information about active LSM
Laurent Bigonville
bigon at debian.org
Fri Oct 27 12:40:46 UTC 2017
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-SELinux-status-in-the-bug-reports.patch
Type: text/x-patch
Size: 2219 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/selinux-devel/attachments/20171027/ab589325/attachment.bin>
More information about the SELinux-devel
mailing list