Thank you for this bug and improving Ubuntu in general. This has been a long time in coming, but ubuntu-advantage-tools version 27.1 has released officially to Xenial 16.10 Bionic 18.04 Focal 20.04 and newer.
I've confirmed this fix is present and properly rejects enabling livepatch on docker % sudo docker run --rm -it --network host ubuntu:18.04 ... root@uptown:/# ua version 27.1~18.04.1 root@uptown:/# ua attach <REDACTED> Enabling default service esm-infra Updating package lists UA Infra: ESM enabled This machine is now attached to '[email protected]' SERVICE ENTITLED STATUS DESCRIPTION cis yes disabled Center for Internet Security Audit Tools esm-infra yes enabled UA Infra: Extended Security Maintenance (ESM) fips yes n/a NIST-certified core packages fips-updates yes n/a NIST-certified core packages with priority security updates livepatch yes n/a Canonical Livepatch service NOTICES Operation in progress: ua attach Enable services with: ua enable <service> Account: [email protected] Subscription: [email protected] root@uptown:/# ua enable livepatch One moment, checking your subscription first Cannot install Livepatch on a container. ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: New => Fix Committed ** Changed in: ubuntu-advantage-tools (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1894346 Title: Livepatch should not be reported as available in a Docker container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1894346/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
