-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grsecurity: Kernel version mismatch #3427
Comments
AFAIK release-14.04 doesn't even contain the complex patches that allow packages work on a grsecurity-enabled kernel (pax-marking, etc.). They're considered too disruptive for inclusion in the stable release, I believe. |
Thanks for the reminder; I need to update the latest kernel patches and whatnot soon (hopefully today) @vcunat is right that you're far better off using |
Thanks for letting me know. I was using master first, but then switched to release because I thought master might be too unstable On 1. August 2014 16:49:21 MESZ, "Vladimír Čunát" [email protected] wrote:
|
@thoughtpolice I aligned the kernel version and grsecurity version in order to test it a little further. The corresponding Unfortunately, it fails to deploy due to an issue with apparmor. Here is the error message after a fresh
During an attempted reboot the kernel panics at start-up, giving the following message: After a cold start the system boots and further deploy operations work. Though, this is a bit shaky. If I comment out all the grsecurity stuff, then the machine is configured without any errors. Am I doing something wrong, or is it one of those places where grsecurity is not ready for production yet? |
Apart adapting the patches, can we keep around in nixpkgs a particular kernel version just for grsec? Shouldn't be that heavy for the nixos cache. Otherwise grsec will break very often. |
Okay, I see what's going on here. Keeping this open so I can fix it in #7220. |
Hello, It has been a little while since this issue was last looked at but I have been experiencing the same issue as described in the OP. A version mismatch between the kernel and grsecurity patches. I have been trying for awhile to get a match but I cannot make anything work. At present I am using nixos-unstable channel hoping that it will be fixed one day, but I thought I should lodge and issue or at least comment here that this is still a problem. I would greatly appreciate any assistance and would like to thank everyone for their work on Nixos which is amazing. |
Closing, I believe this has been resolved by #13505 |
Hi,
I was trying out the grsecurity module and found that there is a mismatch in the kernel version and the grsecurity patch version. That is the case for both the stable, and testing(unstable) version. The problem also exists in the
release-14.04
branch.stable: kernel 3.14.14, but grsecurity patch 3.14.10
testing: kernel 3.15.7, but grsecurity patch 3.15.3
That mismatch triggers the assertion in the grsecurity package.
The text was updated successfully, but these errors were encountered: