cannot disable livepatch when /etc/lsb-release is edited
This bug report will be marked for expiration in 10 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I use the wechat program which will detect whether the system is "Kylin", if not, the program cannot run correctly. So I modify the /etc/lsb-release and then the wechat program could use normally. However, I cannot use Ubuntu Pro livepatch because it says “livepatchd error: The platform Kylin V10 is not supported. exiting.”
Then I re-modified the /etc/lsb-release and try to re-install livepatch, but failed.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 6.5.0-35-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu May 30 16:45:42 2024
InstallationDate: Installed on 2024-04-23 (37 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 (20240220)
PackageArchitec
SourcePackage: ubuntu-
UpgradeStatus: No upgrade log present (probably fresh install)
cloud-id.txt-error: Invalid command specified 'cloud-id'.
jobs-status.json: {"metering": {"last_run": "2024-05-
livepatch-
uaclient.conf:
contract_url: https:/
log_level: debug
tags: | removed: need-amd64-retrace |
Hello, jkwang28, thanks for reporting this bug.
Livepatch seems to be relying on the output of /etc/lsb-release to verify compatibility on all operations (including disable/ status/ etc). I would say editing /etc/lsb-release or /etc/os-release is not something supported from the Pro side.
I see the report says you are using Ubuntu Jammy Jellyfish (22.04). If that is the case, and the /etc/lsb-release was edited back to the original content, then Livepatch should work fine.
Can you please confirm the content of /etc/lsb-release now, and the output you see when disabling/enabling Livepatch again?