Livepatch red mark after every reboot.

Bug #1951817 reported by Rocco Martinello
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Livepatch Client
Fix Released
Undecided
Unassigned

Bug Description

Starting from 20th Novembre 2021 almost every time that I reboot my computer Livepatch shield has a red mark that disappears only detaching and reattaching Livepatch's token.
I tried to change the ID provided by Canonical on their website (Livepatch's token), but no luck.
I tried to uninstall and install again LivePatch, but no luck.
I tried the command
sudo canonical-livepatch refresh
, but no luck.
I tried to reinstall the update
ubuntu-advantage-tools 27.4.1~20.04.1
, but no luck. (I don't know if this update can be related to the problem.)
I provide you with some details:
********************************************************************************
rocco@rocco-desktop:~$ snap info canonical-livepatch
name: canonical-livepatch
summary: Canonical Livepatch Client
publisher: Canonical✓
store-url: https://snapcraft.io/canonical-livepatch
contact: <email address hidden>
license: unset
description: |
  Canonical Livepatch Client
commands:
  - canonical-livepatch
services:
  canonical-livepatch.canonical-livepatchd: simple, enabled, active
snap-id: ******************************** [I replaced the id with asterisks.]
tracking: latest/stable
refresh-date: yesterday at 13:41 CET
channels:
  latest/stable: 10.0.1 2021-11-17 (119) 9MB -
  latest/candidate: 10.1.0 2021-11-18 (123) 9MB -
  latest/beta: 10.1.0 2021-11-18 (123) 9MB -
  latest/edge: 10.1.0 2021-11-18 (123) 9MB -
  core20/stable: 10.0.1 2021-11-17 (121) 9MB -
  core20/candidate: 10.1.0 2021-11-19 (125) 9MB -
  core20/beta: 10.1.0 2021-11-19 (125) 9MB -
  core20/edge: 10.1.0 2021-11-18 (125) 9MB -
  core18/stable: 10.0.1 2021-11-17 (122) 9MB -
  core18/candidate: 10.1.0 2021-11-18 (124) 9MB -
  core18/beta: 10.1.0 2021-11-18 (124) 9MB -
  core18/edge: 10.1.0 2021-11-18 (124) 9MB -
  core/stable: 10.0.1 2021-11-17 (119) 9MB -
  core/candidate: 10.1.0 2021-11-18 (123) 9MB -
  core/beta: 10.1.0 2021-11-18 (123) 9MB -
  core/edge: 10.1.0 2021-11-18 (123) 9MB -
installed: 10.0.1 (119) 9MB -
********************************************************************************
rocco@rocco-desktop:~$ canonical-livepatch status
ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libesets_pac.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
last check: 45 minutes ago
kernel: 5.11.0-40.44~20.04.2-generic
server check-in: succeeded
patch state: ✓ no livepatches needed for this kernel yet
tier: updates (Free usage; This machine beta tests new patches.)
machine id: ******************************** [I replaced the id with asterisks.]
********************************************************************************
rocco@rocco-desktop:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
********************************************************************************
rocco@rocco-desktop:~$ uname -a
Linux rocco-desktop 5.11.0-40-generic #44~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
********************************************************************************
rocco@rocco-desktop:~$ journalctl -u snap.canonical-livepatch.canonical-livepatchd | tail -100
nov 20 15:30:10 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 15:30:10 rocco-desktop canonical-livepatch[947]: Failed to refresh patch information: livepatch check failed: POST request to "https://livepatch.canonical.com/v1/client/********************************/updates" failed. [I replaced the code with asterisks.]
nov 20 15:30:10 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 15:30:10 rocco-desktop canonical-livepatch[947]: Task "refresh" returned an error: livepatch check failed: POST request to "https://livepatch.canonical.com/v1/client/********************************/updates" failed, retrying in 30s. [I replaced the code with asterisks.]
nov 20 15:30:37 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 15:30:37 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 15:30:37 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:30:37 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 15:30:37 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 15:30:37 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 15:30:37 rocco-desktop canonical-livepatch[947]: Task "refresh" completed succesfully after 1 retries.
nov 20 15:32:09 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:32:09 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:32:09 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:32:27 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:32:37 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:32:37 rocco-desktop canonical-livepatch[947]: Disabling client using resource token.
nov 20 15:32:39 rocco-desktop canonical-livepatch[947]: Registering client with authorization token.
nov 20 15:32:40 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 15:32:40 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 15:32:40 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:32:40 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 15:32:40 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 15:32:40 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 15:32:40 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:32:41 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:32:42 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:32:42 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:34:54 rocco-desktop canonical-livepatch[947]: Error in livepatch check state: check-failed.
nov 20 15:34:54 rocco-desktop canonical-livepatch[947]: Sending client deregistration request to server.
nov 20 15:34:54 rocco-desktop canonical-livepatch[947]: Cannot disable machine: no content.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Updating config.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Config change detected, signaling restarting.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Server received context done, stopping.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Server received context done, stopping.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Socket server shutting down.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Periodic worker "refresh" received context Done, stopping.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Received context done signal (context canceled), stopping kernel event listener.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Socket server shutting down.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Detected config change, reloading.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Starting client daemon version 10.0.1.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Client daemon started.
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Starting periodic worker "refresh".
nov 20 15:36:02 rocco-desktop canonical-livepatch[947]: Livepatch client not enabled, skipping refresh.
nov 20 15:36:04 rocco-desktop canonical-livepatch[947]: Validating client resource token.
nov 20 15:36:04 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 15:36:04 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 15:36:04 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 15:36:04 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 15:36:04 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 16:43:32 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 16:43:32 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 16:43:32 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 16:43:32 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 16:43:32 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 17:32:49 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 17:32:49 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 17:32:49 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 17:32:49 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 17:32:49 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 18:18:34 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 18:18:34 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 18:18:34 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 18:18:34 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 18:18:34 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 19:19:56 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 19:19:56 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 19:19:56 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 19:19:56 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 19:19:56 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 20:16:40 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 20:16:40 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 20:16:40 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 20:16:41 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 20:16:41 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 21:30:48 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 21:30:48 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 21:30:48 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 21:30:48 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 21:30:48 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 22:24:56 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 22:24:56 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 22:24:56 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 22:24:56 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 22:24:56 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 20 23:27:37 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 20 23:27:37 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 20 23:27:37 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 20 23:27:38 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 20 23:27:38 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 21 00:37:56 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 21 00:37:56 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 21 00:37:56 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 21 00:37:56 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 21 00:37:56 rocco-desktop canonical-livepatch[947]: No patch payload available.
nov 21 01:44:41 rocco-desktop canonical-livepatch[947]: Client information is recent, not refreshing.
nov 21 01:44:41 rocco-desktop canonical-livepatch[947]: Processing machine status.
nov 21 01:44:41 rocco-desktop canonical-livepatch[947]: Sending status update the livepatch server.
nov 21 01:44:41 rocco-desktop canonical-livepatch[947]: No updates available at this time.
nov 21 01:44:41 rocco-desktop canonical-livepatch[947]: No patch payload available.
********************************************************************************
rocco@rocco-desktop:~$ lsb_release -rd
Description: Ubuntu 20.04.3 LTS
Release: 20.04
********************************************************************************
Cheers from Boves (CN) – Italy,
Rocco Martinello

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1951817/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → kpatch (Ubuntu)
affects: kpatch (Ubuntu) → canonical-livepatch-client
Revision history for this message
Domas Monkus (tasdomas) wrote :

Please run `sudo snap refresh canonical-livepatch`.

Changed in canonical-livepatch-client:
status: New → Fix Released
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.