Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
[kernel] add AppArmor by default #49
Comments
philmmanjaro
added
question
security
labels
Jun 12, 2016
|
AppArmor is still active in linux310 and linux312. |
curiosity-seeker
commented
Jun 12, 2016
|
I think the first reason is not very convincing. The proposed config changes are aimed to users who know what they are doing. They can easily install the AppArmor userspace tools from the AUR. Other users won't be affected. Regarding the second reason: I found this article (from 2014 - I don't know if anything has changed since then). Aside from the fact that the audit code maintainer disagrees with the accusations mentioned in that article, it seems that those problems are mainly related to CONFIG_AUDITSYSCALL=y which is not necessary for AppArmor. |
|
@udeved does including |
cooloutac
commented
Jun 13, 2016
|
High performance cost and multiple kernel vulnerabilities? What? So why doesn't debian based distros have this problem? Sounds a little far fetched. |
cooloutac
commented
Jun 13, 2016
|
ugh, I installed the linux-grsec and linux-grsec-headers packages from https://www.archlinux.org/packages/community/x86_64/linux-grsec/ It works as far as I can tell. But the problem is when i try to install nvidia-grsec from aur so i can get the prop drivers working with it. I ran into so many issues. It kept saying that nvidia-utils 364.19 was not installed when it was. So i edited those lines too to not look for specific version. Since i already had right version installed, and what was weird is it would try to install 304xx utils. Which made no sense to me? Then i had to edit a line to reflect right extra modules kernel version. Then i started getting errors about wrong gcc plugin version so I had to uninstall gcc-multilib and install gcc6.1. Then it finally starting building but at the end once again complained again about unable to resovle nvidia-utils=364.19 a dependency of nvidia-grsec-dkms. But i have it installed!. So hit skip and it installed and said to reboot. But was unable to boot into x. No error just nothing i had to go to a tty. So what the heck do I do there, how can I resolve that? How can I install this nvidia-grsec package so i can have nvidia prop drivers with grsec kernel for steam gaming. I don't know where to post about this, is it cause i'm on manjaro? I'm also disappointed to see even the linux-grsec kernel from arch doens't support apparmor. Thats so weird to me. I might just go back to debian and just build my own kernel cause I dont' think I can handle this...its all too bizarre. |
|
@cooloutac: It is not bizzare at all. Manjaro provides a different version as Archlinux. Here is the snippet of our nvidia extramodule PKGBUILD:
In Manjaro we have an epoch. So you have to edit the nvidia-grsec-dkms package to check for nvidia-utils=1:364.19. linux-grsec disabled AUDIT for the same reasons as I've stated before. Sure, Debian has AUDIT enabled. For ConsoleKit2 however |
cooloutac
commented
Jun 13, 2016
|
I meant bizarre that arch doesn't support apparmor. I have compiled arch kernel with apparmor support before, but I used menuconfig, and didn't have to do anything diff then I would on debian using mainline kernel. I never noticed any performance issue using it or not, but I never benchmarked gaming performance. Regarding nvidia-grsec, I'll try again but there must be a line i'm not editing correctly. The patch on spenders site is outdated and I can't even find a link to download the matching driver from nvidia, so I was hoping the nvidia-grsec package would work for me. It would really suck not to have any extra security at all from the kernel on my manjaro system. I don't think I can bear that. |
philmmanjaro commentedJun 12, 2016
There was a suggestion to re-integrate AppArmor back into Manjaro. Followed config changes are needed:
These were the reasons why we had removed it: