Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I patch my linux kernel with grsecurity, will I still be able to update my system with yum (or apt-get)?

Won't the updates available via yum be incompatible with my patched "non standard" version of the kernel?

Also, won't the patches be overwritten each time I update the kernel with yum?

How do you maintain a patched kernel?

share|improve this question
up vote 1 down vote accepted

The simplest option is put kernel into exclude list of yum/apt to avoid updates:

 # cat /etc/yum.d/

More complicated way is in addition to exclude maintain own spin of kernel from your distribution and add your special fixes on top of it. It this case you have to release your our spin every time when distro update is available. This will allow to have all fixes from distributions puls your extras.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.