UbuntuAdvantageDesktopDaemon

Since the package isn't really easy to integrate to autopkgtest we have a manual testplan

Use dbus calls to control the service

Get the current ua status

$ gdbus call --system --dest com.canonical.UbuntuAdvantage --object-path /com/canonical/UbuntuAdvantage/Manager --method org.freedesktop.DBus.Properties.Get com.canonical.UbuntuAdvantage.Manager Attached

check that it matches what 'ua status' reports

If it's not attached to a subscription you can do it

$ gdbus call --system --dest com.canonical.UbuntuAdvantage --object-path /com/canonical/UbuntuAdvantage/Manager --method com.canonical.UbuntuAdvantage.Manager.Attach "TOKEN"

where TOKEN is your subscription key which you can find on https://ubuntu.com/advantage

If it's attached you can detach it

$ gdbus call --system --dest com.canonical.UbuntuAdvantage --object-path /com/canonical/UbuntuAdvantage/Manager --method com.canonical.UbuntuAdvantage.Manager.Detach

Using Software Properties

Warning /!\ Not available yet but should be before the LTS

Use the software-properties-gtk controls to connect to the service


CategoryDesktopTestPlans

DesktopTeam/TestPlans/UbuntuAdvantageDesktopDaemon (last edited 2022-11-03 13:13:57 by jbicha)