Difference between revisions of "Ksplice"

From ArchWiki
Jump to: navigation, search
m (ksplice needs a patch, mark as out of date for now)
m (Add a helpful link)
Line 38: Line 38:
 
*[http://www.ksplice.com/ Offical website of Ksplice]
 
*[http://www.ksplice.com/ Offical website of Ksplice]
 
*[https://en.wikipedia.org/wiki/Ksplice Ksplice on Wikipedia]
 
*[https://en.wikipedia.org/wiki/Ksplice Ksplice on Wikipedia]
 +
*[http://cormander.com/2011/08/how-to-use-the-ksplice-raw-utilities/ How to use the Ksplice raw utilities]
 
[[Category:Kernel]]
 
[[Category:Kernel]]
 
[[Category:Security]]
 
[[Category:Security]]

Revision as of 08:18, 12 February 2013

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: please use the first argument of the template to provide more detailed indications. (Discuss in Talk:Ksplice#)

Ksplice is an open source extension of the Linux kernel which allows system administrators to apply security patches to a running kernel without having to reboot the operating system.

Installation

Install the kspliceAUR package from the Arch User Repository.

Configuration

Usage

Note: The following steps have only been tested on a custom Arch kernel.

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: KSplice currently compiles an outdated kmod version and needs to be patched (Discuss in Talk:Ksplice#)

First, you need some files from the previous kernel build: System.map and .config.

This example makes use of the --diffext option which creates a patch based on the differences between the old and the new source files.

Make a ksplice directory in the kernel source tree:

# mkdir -p src/ksplice

Copy System.map over from the previous build:

# cp System.map src/ksplice

Copy .config into the tree if it is not already in the source tree:

# cp .config src/

Create a ksplice patch and wait for the kernel to rebuild:

# ksplice-create --diffext=new src/

Apply the newly generated patch to the running kernel:

# ksplice-apply ksplice-*.tar.gz

See also