15

Canonical offers livepatching for its kernel, where every home user can get three licenses.

However, I'd like to know how I can de-register a machine from my license. If I get rid of a computer, I'd rather not lose one of my three licenses.

Is there a formalized procedure to deactivate a machine's license and transfer it to a new machine?

11

Yes, just run

sudo snap run canonical-livepatch disable
5
  • 2
    And this actually frees up one of the livepatch licenses again? I've dealt with software where disabling things doesn't give you the license back, so I want to verify with Ubuntu.
    – Kaz Wolfe
    Nov 22 '17 at 16:40
  • 1
    I’ve done this on more than three machines(the limit) and it worked fine. Nov 22 '17 at 16:40
  • 5
    Do I have to run this on the old machine? What if it was a cloud instance and it's deleted. How do I reset all registered machines? Thanks
    – Houman
    May 6 '19 at 11:24
  • @Houman did you ever find the answer to your follow-up question about cloud instances?
    – DGinzberg
    Jun 14 at 20:04
  • 1
    @DGinzberg I'm no longer using Ubuntu. But I remember that only the last three activated devices were kept. Hence older devices simply fall off the cliff and get removed.
    – Houman
    Jun 14 at 21:09
1

Alternatively go to Software and Updates >> Livepatch and turn the slider to off.

0

Another possibility is to do the following:

  • Check out man ua to see what the Ubuntu Advanced services are;
  • ua status to see how your settings are configured;
  • sudo ua disable livepatch and then ua status for control.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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