Patching the Linux kernel without reboot with Ubuntu livepatch

When you want to maximize the uptime of your servers, you need a way to update the kernel to fix security vulnerabilities without having to reboot the machines.

For that, Canonical provides livepatch: a way to apply live security patches to the Ubuntu's kernel, without the need to reboot.

And I have good news: Canonical provides this service for free for up to 3 machines (desktops or servers)!

The first step is to get your Ubuntu Advantage token at the following address:

Then on your machine:

$ sudo ua attach [YOUR TOKEN]
$ sudo ua enable livepatch
$ ua status

Take a look at for more information.

1 email / week to learn how to (ab)use technology for fun & profit: Programming, Hacking & Entrepreneurship.
I hate spam even more than you do. I'll never share your email, and you can unsubscribe at any time.

Tags: programming, tutorial, linux, devops

Want to learn Rust, Cryptography and Security? Get my book Black Hat Rust!