Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: grsecurity (never mind!)
PostPosted: Wed May 13, 2009 4:22 pm 
Offline
Senior Newbie

Joined: Mon May 11, 2009 4:44 pm
Posts: 11
Website: http://www.spottedairplanes.com
Location: New York
Has anyone been able to get a kernel to boot in pv_grub with the grescurity patches applied? I've been fighting with it for a day or so and it won't work...I'm using a Linode 360 with Gentoo. I first tried the gentoo-hardened kernel (which includes both grsecurity and SELinux) with the pv_ops options enabled...when I tried to boot, it hung with no console output.

Then I tried the 2.6.27.4-linode14 sources and the config that is used when that kernel is selected on the Dashboard. Without applying any patches, I was at least able to get that kernel to compile and boot. I used incremental patches to upgrade to 2.6.27.10 (the kernel version grsecurity patches against), and it still booted. Then I applied the grsecurity patch, compiled (no config changes), and the kernel pagefaulted immediately. Obviously, after that, I didn't try enabling grsecurity or PaX in the kernel config.

Has anyone gotten this to work? Any ideas how?


Top
   
 Post subject:
PostPosted: Thu May 14, 2009 12:26 pm 
Offline
Senior Newbie

Joined: Mon May 11, 2009 4:44 pm
Posts: 11
Website: http://www.spottedairplanes.com
Location: New York
Update: It works if I start with linux-2.6.27.4-x86_64-linode3 as the base for patching. Had I done some more extensive googling, I'd have discovered that grsecurity in general has issues with 32-bit kernels. :oops:


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group