← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1980781] Re: SRU of ubuntu-advantage-desktop-daemon to older series

 

** Also affects: ubuntu-advantage-desktop-daemon (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-advantage-desktop-daemon (Ubuntu Bionic)
       Status: New => Fix Committed

** Changed in: ubuntu-advantage-desktop-daemon (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: ubuntu-advantage-desktop-daemon (Ubuntu Bionic)
     Assignee: (unassigned) => Sebastien Bacher (seb128)

** Also affects: ubuntu-advantage-desktop-daemon (Ubuntu Xenial)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1980781

Title:
  SRU of ubuntu-advantage-desktop-daemon to older series

Status in ubuntu-advantage-desktop-daemon package in Ubuntu:
  Fix Released
Status in ubuntu-advantage-desktop-daemon source package in Xenial:
  New
Status in ubuntu-advantage-desktop-daemon source package in Bionic:
  Fix Committed
Status in ubuntu-advantage-desktop-daemon source package in Focal:
  Fix Committed

Bug description:
  [Impact]

  ubuntu-advantage-desktop-daemon is a service we added in 22.04 to let
  desktop application interact easily with Ubuntu Advantage

  adsys makes use of is to check if the system is connected to UA. This is supported in 20.04 LTS but until now the daemon was not available there.
  Installing the daemon enables advanced usages (scripts, privilege delegation…) which require an Ubuntu Pro account

  Ubuntu Pro integration is being added to software-properties which
  also require the service to be available.

  [Test Plan]

  A. Verify the service

  1. Install:
  $ sudo apt install ubuntu-advantage-desktop-daemon
  2. Check able to access daemon
  $ gdbus call --system --dest com.canonical.UbuntuAdvantage --object-path /com/canonical/UbuntuAdvantage/Manager --method org.freedesktop.DBus.Properties.GetAll 'com.canonical.UbuntuAdvantage.Manager'
  ({'Attached': <true>, 'DaemonVersion': <'1.8'>},)

  B. Software-properties

  Verify that the new 'Ubuntu Pro' page is working as expected, SRU bug
  #, especially that it reflects the correct status and that
  attaching/detaching a token and enabling/disabling services is working

  C. Adsys (focal)

  1. Ensure that you have an Ubuntu Advantage subcription enabled.
  2. Setup some scripts under AD to be executed, one for machine scripts (on startup), one for user scripts (on login). Those scripts can create some temporary files under /tmp for instance.
  3. Reboot and login on the Ubuntu laptop connected with AD by adsys.
  4. Check that the scripts were executed by testing that the created file under /tmp are present.

  [Where problems could occur]

  This is a code that has not previously been used on 20.04 and thus
  could trigger new bugs. It has been used for since jammy though
  without major issues.

  A. The service itself

  The service shouldn't be active unless it's needed. If you don't have ubuntu advantage nor adsys configured check that the service is not loaded.
  The service should low on resource usage, check that it's the case by checking the RAM and CPU consumption.

  B. Software-properties

  The Ubuntu Pro tab didn't exist before so there should be no
  regression possible there due to the service. The livepatch enablement
  is handled through the service as part of UA now so check that
  livepatch is correctly working still on upgraded systems

  C. Adsys (focal)

  The behaviour change in adsys should be limited to enabling features
  which weren't available in focal before but we should ensure those are
  correctly working and not providing a buggy user experience

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-desktop-daemon/+bug/1980781/+subscriptions