Recently I have come across a security module for the Linux kernel called Linux-VServer which allows you to virtualize many things and "partition" the OS to reduce the effects of a compromise. I was surprised to see that it required a re-compilation of the kernel as most of these types of things are simply modules that can be loaded at run time (selinux, apparmor).
My problem with recompiling the kernel to enable Linux-VServer is I am a beginner when it comes to compiling my own kernel. I use the Ubuntu package repositories to update my kernel which gives me the peace of mind that whoever compiled it, configured it properly so there won't be too many problems down the road. Is there a way to obtain the kernel configuration file (the thing created from running make menuconfig
) that Ubuntu uses for their kernel distributions? I have tried looking at kernel compilation guides but most just explain how to download, extract and run make
on the kernel, documentation about the actual configuration seems to be sparse.
I tried running apt-get source linux-image-3.2.0-generic
on my Ubuntu box in hopes of grabbing the "configuration file", but I am presented with the error Unable to find a source package for linux-image-3.2.0-generic
. Any ideas? Thank you!