I continue to get LivePatch error shield on desktop

Bug #1833304 reported by EigenFunctions on 2019-06-18
82
This bug affects 18 people
Affects Status Importance Assigned to Milestone
Canonical Live Patch Client
Undecided
Unassigned

Bug Description

"An error occured when checking for Livepatch updates" is the message.
As suggested, I tried:
  sudo canonical-livepatch refresh
  [sudo] password for xxxxxx:
  Before refresh:

  kernel: 4.15.0-52.56-generic
  fully-patched: true
  version: ""

  After refresh:

  kernel: 4.15.0-52.56-generic
  fully-patched: true
  version: ""

It did not seem to fix the problem.

as requested:
-------------------------------------
canonical-livepatch status --verbose
client-version: 9.3.0
machine-id: ee0382af921a49a2a852adf13e3f1f6f
machine-token: 8abe9a61d51e43e5a8439090f483ebfa
architecture: x86_64
cpu-model: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
last-check: 2019-06-18T16:54:41-04:00
boot-time: 2019-06-18T16:39:45-04:00
uptime: 23m31s
status:
- kernel: 4.15.0-52.56-generic
  running: true
  livepatch:
    checkState: checked
    patchState: nothing-to-apply
    version: ""
    fixes: ""
-------------------------------------------
"journalctl -t canonical-livepatch" has 16,825 lines
"snap interfaces" has 114 lines
-------------------------------------------
snap list canonical-livepatch
Name Version Rev Tracking Publisher Notes
canonical-livepatch 9.3.0 77 stable canonical✓ -
-------------------------------------------
"dmsg" had nearly 100 lines
-------------------------------------------

I don't know if updates are being applied or not. Also, is this a security risk?

Can anyone help?

information type: Private Security → Public
EigenFunctions (eigenfunctions) wrote :

Also-
OS:
64-bit Ubuntu 18.04.2 LTS
Gnome: 3.28.2

Laptop:
Acer A515-51-50RR
Mem: 7.7 GiB ram; Proc: Intel Core i5-7200U CPU @ 2.50GHz × 4;
  Graphics: Intel HD Graphics 620 (Kaby Lake GT2); HDD: 1 TB

Jose Luis Rivera (jlr-vale) wrote :

The same:

client-version: 9.4.1
architecture: x86_64
cpu-model: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz
last-check: 2019-09-26T20:19:16-04:00
boot-time: 2019-09-28T12:17:55-04:00
uptime: 55m41s
status:
- kernel: 4.15.0-64.73-generic
  running: true
  livepatch:
    checkState: check-failed
    checkInfo: 'cannot send status to server: cannot send request: Put https://livepatch.canonical.com/api/machine/29ab16d030d5629cd69a9d72567da1a2:
      dial tcp: lookup livepatch.canonical.com on 127.0.0.53:53: server misbehaving'
    patchState: nothing-to-apply
    version: ""
    fixes: ""

following the link: {"error": "Resource not found"}

Casey Marshall (cmars) wrote :

Updated wiki page https://wiki.ubuntu.com/Kernel/Livepatch with instructions on how to collect the information we would need to triage your issue. Please update this bug accordingly so we can help.

Thanks,
Casey

Changed in canonical-livepatch-client:
status: New → Incomplete
Jeroen Donkervoort (jpd68) wrote :

Error did not occur for a long time and livepatch seems to be working fine. Whatever the error was, it seems to be fixed.

Jeroen Donkervoort (jpd68) wrote :
Download full text (11.6 KiB)

Alas the error occurred today, hereby the requested information:
Outpuu snap info canonical-livepatch:

2019/10/29 08:15:04.019468 main.go:150: description of sign's "k" is lowercase: "naam van de te gebruiken sleutel, gebruik anders de standaardsleutel"
name: canonical-livepatch
summary: Canonical Livepatch Client
publisher: Canonical✓
contact: <email address hidden>
license: unset
description: |
  Canonical Livepatch Client
commands:
  - canonical-livepatch
services:
  canonical-livepatch.canonical-livepatchd: simple, enabled, active
snap-id: b96UJ4vttpNhpbaCWctVzfduQcPwQ5wn
tracking: stable
refresh-date: 18 days ago, at 12:12 CEST
channels:
  stable: 9.4.6 2019-10-24 (88) 8MB -
  candidate: ↑
  beta: ↑
  edge: ↑
installed: 9.4.4 (84) 9MB -

Output canonical-livepatch status

client-version: 9.4.4
architecture: x86_64
cpu-model: Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz
last-check: 2019-10-28T09:23:32+01:00
boot-time: 2019-10-29T07:59:40+01:00
uptime: 17m10s
status:
- kernel: 4.15.0-66.75-generic
  running: true
  livepatch:
    checkState: check-failed
    checkInfo: 'cannot send status to server: cannot send request: Put https://livepatch.canonical.com/api/machine/19ccf1c8a4aa4bb78e10765fc305ee05:
      dial tcp: lookup livepatch.canonical.com: no such host'
    patchState: nothing-to-apply
    version: ""
    fixes: ""

Output lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

Output uname -a

Linux KIEDON-UBUNTU 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Output journalctl -u snap.canonical-livepatch.canonical-livepatchd | tail -100

okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: starting svc "mitigation loop"
okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: service "mitigation loop" started
okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: starting svc "socket servers"
okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: service "socket servers" started
okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: starting svc "refresh loop"
okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: service "refresh loop" started
okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: client daemon started
okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: Client.Check
okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: Checking with livepatch service.
okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: No payload available.
okt 26 09:14:40 KIEDON-UBUNTU canonical-livepatch[902]: during refresh: cannot check: cannot send status to server: cannot send request: Put https://livepatch.canonical.com/api/machine/19ccf1c8a4aa4bb78e10765fc305ee05: dial tcp: lookup livepatch.canonical.com: no such host
okt 26 09:15:11 KIEDON-UBUNTU canonical-livepatch[902]: Client.Check
okt 26 09:15:11 KIEDON-UBUNTU canonical-livepatch[902]: error in livepatch check state: check-failed
okt 26 09:15:11 KIEDON-UBUNTU canonical-livepatch[902]: Checking with livepatch service.
okt 26 09:15:11 ...

Benoit (bmduval) wrote :
Download full text (10.5 KiB)

I have almost the same bug it just happend to me today after 1 week without using the laptop

command output :
snap info canonical-livepatch
name: canonical-livepatch
summary: Canonical Livepatch Client
publisher: Canonical✓
contact: <email address hidden>
license: unset
description: | Canonical Livepatch Client
commands: - canonical-livepatch
services: canonical-livepatch.canonical-livepatchd: simple, enabled, active
snap-id: b96UJ4vttpNhpbaCWctVzfduQcPwQ5wn
tracking: stable
refresh-date: 18 days ago, at 21:23 CET
channels:
  stable: 9.4.8 2019-12-03 (90) 8MB -
  candidate: ↑
  beta: 9.4.8 2019-12-03 (90) 8MB -
  edge: 9.4.8 2019-12-03 (90) 8MB -
installed: 9.4.8 (90) 8MB -

canonical-livepatch status
client-version: 9.4.8
architecture: x86_64
cpu-model: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
last-check: 2019-12-14T23:55:11+01:00
boot-time: 2019-12-21T17:56:55+01:00
uptime: 4m44s
status:
- kernel: 4.15.0-72.81-generic
  running: true
  livepatch:
    checkState: check-failed
    checkInfo: 'livepatch check failed: cannot send request: Put https://livepatch.canonical.com/api/machine/ef4521759f0f4a3e8bac03c283da72c3:
      dial tcp: lookup livepatch.canonical.com on 127.0.0.53:53: server misbehaving'
    patchState: nothing-to-apply
    version: ""
    fixes: ""

lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic

uname -a
Linux ben-N750HU 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

journalctl -u snap.canonical-livepatch.canonical-livepatchd| tail -100
déc. 14 12:55:09 ben-N750HU canonical-livepatch[1265]: No payload available.
déc. 14 13:55:09 ben-N750HU canonical-livepatch[1265]: Client.Check
déc. 14 13:55:09 ben-N750HU canonical-livepatch[1265]: Checking with livepatch service.
déc. 14 13:55:09 ben-N750HU canonical-livepatch[1265]: Updated last-check.
déc. 14 13:55:09 ben-N750HU canonical-livepatch[1265]: No updates available at this time.
déc. 14 13:55:09 ben-N750HU canonical-livepatch[1265]: No payload available.
déc. 14 14:55:09 ben-N750HU canonical-livepatch[1265]: Client.Check
déc. 14 14:55:09 ben-N750HU canonical-livepatch[1265]: Checking with livepatch service.
déc. 14 14:55:09 ben-N750HU canonical-livepatch[1265]: Updated last-check.
déc. 14 14:55:09 ben-N750HU canonical-livepatch[1265]: No updates available at this time.
déc. 14 14:55:09 ben-N750HU canonical-livepatch[1265]: No payload available.
déc. 14 15:55:09 ben-N750HU canonical-livepatch[1265]: Client.Check
déc. 14 15:55:09 ben-N750HU canonical-livepatch[1265]: Checking with livepatch service.
déc. 14 15:55:09 ben-N750HU canonical-livepatch[1265]: Updated last-check.
déc. 14 15:55:09 ben-N750HU canonical-livepatch[1265]: No updates available at this time.
déc. 14 15:55:09 ben-N750HU canonical-livepatch[1265]: No payload available.
déc. 14 16:55:09 ben-N750HU canonical-livepatch[1265]: Client.Check
déc. 14 16:55:09 ben-N750HU canonical-livepatch[1265]: Checking with livepatch service.
déc. 14 16:55:10 ben-N750HU canonical-livepa...

Launchpad Janitor (janitor) wrote :

[Expired for Canonical Live Patch Client because there has been no activity for 60 days.]

Changed in canonical-livepatch-client:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers