Switch from Livepatch service to UA client

Bug #1934199 reported by Robert Ancell
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Triaged
Undecided
Unassigned
Xenial
Triaged
Undecided
Robert Ancell
Bionic
Triaged
Undecided
Robert Ancell
Focal
Triaged
Undecided
Robert Ancell
Hirsute
Won't Fix
Undecided
Unassigned
Impish
Won't Fix
Undecided
Unassigned

Bug Description

software-properties currently uses a HTTP over Unix domain socket service from the livepatch snap to get the status and enable/disable it. This service is being deprecated with the 'ua' command line tool now providing this functionality. software-properties also installed the snap to gain access to this service. This is no longer required as the 'ua' tool does this.

(*) The Livepatch service is a HTTP over Unix domain service running on livepatchd.sock inside the livepatch snap.

Revision history for this message
Robert Ancell (robert-ancell) wrote (last edit ):

The current implementation shows "Last check for updates". As far as I can tell this information is not available via the UA client. It also shows a list of applied CVE fixes, which again I don't think is available from the UA client.

See attached screenshot of current implementation in 18.04 LTS.

Revision history for this message
Sebastien Bacher (seb128) wrote :

After discussing that a bit it sounds like we only want to replace the use of the livepatch auth service and enable livepatch using UA, we can keep using the socket to get the other informations

Revision history for this message
Sebastien Bacher (seb128) wrote :

it's not going to be ready for impish

Changed in software-properties (Ubuntu Impish):
status: New → Won't Fix
Revision history for this message
Ken VanDine (ken-vandine) wrote :

@robert-ancell: IIRC you had some code for this already? Or am I misremembering it?

Changed in software-properties (Ubuntu Focal):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in software-properties (Ubuntu Hirsute):
status: New → Won't Fix
Changed in software-properties (Ubuntu Bionic):
assignee: nobody → Robert Ancell (robert-ancell)
Changed in software-properties (Ubuntu Xenial):
assignee: nobody → Robert Ancell (robert-ancell)
Revision history for this message
Robert Ancell (robert-ancell) wrote :

I had a WIP branch done as part of the ESM work. That's now been rescheduled to April 2022, and the Livepatch migration will be done as part of that.

Changed in software-properties (Ubuntu):
status: New → Triaged
Changed in software-properties (Ubuntu Xenial):
status: New → Triaged
Changed in software-properties (Ubuntu Bionic):
status: New → Triaged
Changed in software-properties (Ubuntu Focal):
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers