This bug was fixed in the package ubuntu-advantage-desktop-daemon - 1.9
---------------
ubuntu-advantage-desktop-daemon (1.9) kinetic; urgency=medium
* src/ubuntu-advantage-desktop-daemon.service.in:
- relax the hardening rules to fix livepatch and other services
(lp: #1972809)
-- Sebastien Bacher <[email protected]> Wed, 11 May 2022 12:47:28
+0200
** Changed in: ubuntu-advantage-desktop-daemon (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ubuntu-advantage-desktop-daemon in
Ubuntu.
https://bugs.launchpad.net/bugs/1972809
Title:
Cant enable ua from GUI, works from CLI
Status in ubuntu-advantage-desktop-daemon package in Ubuntu:
Fix Released
Status in ubuntu-advantage-desktop-daemon source package in Jammy:
Fix Committed
Bug description:
* Impact
Livepatch can't be enabled from software-properties-gtk
* Test Case
Try to attach your machine to an UA token from the livepatch tab from
software-properties-gtk
Before the fix it was displayed an error message in red, with the fix
it should display livepatch as activated
* Regression potential
The change reduces the hardening in the systemd unit which isn't
optimal but is needed, the details of the change is on
https://github.com/canonical/ubuntu-advantage-desktop-daemon/pull/15
What could go wrong would be if one of the changes were incorrect and
leading to restrict an access allowed before, if that was the case ua
could end up not being able to perform some of the actions needed
------------------------------
Hi,
I have the same UI red message when tryng to enable ua from the GUI on
a 22.04 LTS fresh install:
https://askubuntu.com/questions/1403568/can-not-enable-livepatch-
service-on-22-04
Step to reproduce:
1 : open the GUI, a link to get the token is displayed (
https://ubuntu.com/advantage )
2 : I copy past the token into the prompted field
3 : The GUI says it is successfuly linked, but can't activate livepatch
4 : Checking on the advantage page, only 1 active device out of a max of 3
5 : I rebooted (to make sure it wasn't something due with the linux-firmware
update just received few minutes earlier) and tryed again from the GUI: says
device is linked, but using the switch on button doesnt enable successfuly
livepatch
6 : I use the anwser from the previous askubuntu link ( `sudo ua enable
livepatch` )
7 : it says it was enabled with success, top icon appear, a shield with a
green check, opening the GUI says it is well enabled,
expected result:
on step 3 it should had work as same it worked from CLI and jump to
step 7 (success)
note: note sure I reported it against the right package, sorry if
that's the case, tryed ubuntu-bug ua, didnt worked, i just picked the
first package in launchpad talking about advantage
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-advantage-tools 27.8~22.04.1
ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
Uname: Linux 5.15.0-27-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue May 10 10:57:23 2022
InstallationDate: Installed on 2022-04-29 (10 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64
(20220419)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-desktop-daemon/+bug/1972809/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp