Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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/yum.site.excludes
 exclude=kernel*
 #

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

 
discard

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.