Enabling LIvePatch fails

Bug #1758980 reported by Jeremy Bícha
38
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Canonical Livepatch Client
Fix Released
Undecided
Francesco Banconi
software-properties (Ubuntu)
Invalid
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned

Bug Description

I logged in with my Launchpad credentials to GNOME Settings > Online Accounts > Ubuntu Single Sign-On

I opened the Software & Updates app. I switched to the Updates tab and tried to enable Livepatch. I entered my sudo password when prompted.

After a few moments, I got a popup telling me that LivePatch couldn't be enabled.

Edit
----
It appears to have worked the second time I tried to enable it. Here's my status now:

$ canonical-livepatch status
client-version: "7.29"
architecture: x86_64
cpu-model: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
last-check: 2018-03-26T13:25:49.490531157-04:00
boot-time: 2018-03-26T09:18:35-04:00
uptime: 4h7m37s
status:
- kernel: 4.15.0-12.13-generic
  running: true
  livepatch:
    checkState: checked
    patchState: nothing-to-apply
    version: ""
    fixes: ""

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: software-properties-common 0.96.24.24
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 26 13:21:36 2018
InstallationDate: Installed on 2017-10-13 (164 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Beta amd64 (20171012)
PackageArchitecture: all
SourcePackage: software-properties
UpgradeStatus: Upgraded to bionic on 2017-11-24 (121 days ago)

Revision history for this message
Jeremy Bícha (jbicha) wrote :
description: updated
Changed in software-properties (Ubuntu):
assignee: nobody → Andrea Azzarone (azzar1)
Jeremy Bícha (jbicha)
description: updated
Revision history for this message
Andrea Azzarone (azzar1) wrote :

It looks like a bug in canonical-livepatch client. The error message was: "2018/03/26 13:19:19 error executing enable: Connection to the daemon failed: Put http://127.0.0.1/enable?auth-token=<redacted> : dial unix /var/snap/canonical-livepatch/36/livepatchd-priv.sock: connect: no such file or directory"

Changed in software-properties (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Andrea Azzarone (azzar1) wrote :

For reference for the moment we are using the edge channel.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

canonical-livepatch
edge: 7.29 (36)

Changed in canonical-livepatch-client:
assignee: nobody → Francesco Banconi (frankban)
Changed in canonical-livepatch-client:
status: New → In Progress
Revision history for this message
Francesco Banconi (frankban) wrote :
Changed in canonical-livepatch-client:
status: In Progress → Fix Committed
Andrea Azzarone (azzar1)
Changed in software-properties (Ubuntu Bionic):
status: Triaged → Invalid
assignee: Andrea Azzarone (azzar1) → nobody
importance: Medium → Undecided
Revision history for this message
Francesco Banconi (frankban) wrote :

The snap with the fix has been released on the edge channel.

Changed in canonical-livepatch-client:
status: Fix Committed → Fix Released
Revision history for this message
iglinux (iglezer) wrote :

I have a similar problem, but not so sure it is the same. When I verify Livepatch status:
client-version: 9.4.8
architecture: x86_64
cpu-model: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
last-check: 2020-02-14T09:29:57-03:00
boot-time: 2020-02-14T07:29:23-03:00
uptime: 2h26m29s
status:
- kernel: 4.15.0-76.86-generic
  running: true
  livepatch:
    checkState: checked
    patchState: nothing-to-apply
    version: ""
    fixes: ""

But in 'Software & Updates' Livepatch tab all I got is 'OFF', and I can't switch ON or click on it. It is written 'Livepatch requires an internet connection'. Is this a known bug to be ingnored, or something else that must be fixed?

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.