unable to enable livepatch

Bug #2033593 reported by Sami Shaikh
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-advantage-tools (Ubuntu)
Incomplete
Undecided
Lucas Albuquerque Medeiros de Moura

Bug Description

failed to process /proc/version_signature. Failed to parse kernel: XX-microsoft-standard-WSL2

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-advantage-tools 28.1~22.04
Uname: Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Thu Aug 31 11:30:21 2023
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: No upgrade log present (probably fresh install)
cloud-id.txt-error: Invalid command specified 'cloud-id'.
livepatch-status.txt-error: Invalid command specified '/snap/bin/canonical-livepatch status'.
uaclient.conf:
 contract_url: https://contracts.canonical.com
 log_level: debug

Revision history for this message
Sami Shaikh (sami6067) wrote :
information type: Private → Public
tags: removed: need-amd64-retrace
Revision history for this message
Lucas Albuquerque Medeiros de Moura (lamoura) wrote (last edit ):

Hi sami6067,

Thanks for reporting this issue. Can you post the full output of running `pro enable livepatch`. I just want to double checking an hypothesis I have after reading the log. I am marking this bug as incomplete right now, but once you send me the information I will properly update the bug status based on the output provided

Changed in ubuntu-advantage-tools (Ubuntu):
status: New → Incomplete
Changed in ubuntu-advantage-tools (Ubuntu):
assignee: nobody → Lucas Albuquerque Medeiros de Moura (lamoura)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Here is what I get on an up to date WSL 22.04

u@drenec:~$ sudo snap install canonical-livepatch
canonical-livepatch 10.6.0 from Canonical✓ installed
u@drenec:~$ /snap/bin/canonical-livepatch status
Machine is not enabled. Please run 'sudo canonical-livepatch enable' with the
token obtained from https://ubuntu.com/livepatch.
u@drenec:~$ pro enable livepatch
This command must be run as root (try using sudo).
u@drenec:~$ sudo pro enable livepatch
One moment, checking your subscription first
failed to process /proc/version_signature.
Failed to parse kernel: 5.15.90.1-microsoft-standard-WSL2
unable to determine enough kernel information to check livepatch support
Cannot install Livepatch on a container.
u@drenec:~$

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

That is actually not as non-graceful as I thought.

And there is no livepatch for WSL kernels, so that in itself isn't an issue.

Is that how it looks for you as well @Sami?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.