Public bug reported:

If the ESM(infra/apps) or FIPS apt sources point to alternate mirrors
(i.e Landscape mirrors) then pro status does not show ESM/FIPS as
enabled even though the machine is receiving those packages

# Reproducer

Set up landscape mirroring of the ESM repositories and configure a
repository profile (once https://bugs.launchpad.net/landscape-
client/+bug/2103463 fixed .list and .source will be suffixed with .save)
so that only landscape sources are approved.

Attach a landscape client to pro

# Example output on client

```
ubuntu@landscape-client-01:~$ ls /etc/apt/sources.list.d/
landscape-noble-test.list  ubuntu-esm-apps.sources.save  
ubuntu-esm-infra.sources.save  ubuntu.sources.save

ubuntu@landscape-client-01:~$ cat 
/etc/apt/sources.list.d/landscape-noble-test.list 
deb http://landscape-server.local-test/repository/standalone/ubuntu noble main 
universe restricted multiverse
deb http://landscape-server.local-test/repository/standalone/ubuntu 
noble-security main universe restricted multiverse
deb http://landscape-server.local-test/repository/standalone/ubuntu 
noble-updates main universe restricted multiverse
deb http://landscape-server.local-test/repository/standalone/ubuntu 
noble-esm-apps-security main
deb http://landscape-server.local-test/repository/standalone/ubuntu 
noble-esm-infra-security main
deb http://landscape-server.local-test/repository/standalone/ubuntu 
noble-esm-infra-updates main
deb http://landscape-server.local-test/repository/standalone/ubuntu 
noble-esm-apps-updates main

ubuntu@landscape-client-01:~$ pro status
SERVICE          ENTITLED  STATUS       DESCRIPTION
anbox-cloud      yes       disabled     Scalable Android in the cloud
esm-apps         yes       disabled     Expanded Security Maintenance for 
Applications
esm-infra        yes       disabled     Expanded Security Maintenance for 
Infrastructure
landscape        yes       enabled      Management and administration tool for 
Ubuntu
livepatch        yes       enabled      Canonical Livepatch service
realtime-kernel* yes       disabled     Ubuntu kernel with PREEMPT_RT patches 
integrated
usg              yes       disabled     Security compliance and audit tools

ubuntu@landscape-client-01:~$ apt-cache policy libcjson1
libcjson1:
  Installed: 1.7.17-1ubuntu0.1~esm2
  Candidate: 1.7.17-1ubuntu0.1~esm2
  Version table:
 *** 1.7.17-1ubuntu0.1~esm2 500
        500 http://landscape-server.local-test/repository/standalone/ubuntu 
noble-esm-apps-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.7.17-1 500
        500 http://landscape-server.local-test/repository/standalone/ubuntu 
noble/universe amd64 Packages
```

# Related Bugs

This appears to have been worked in
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-
tools/+bug/2031192

** Affects: ubuntu-advantage-tools (Ubuntu)
     Importance: Undecided
         Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2104042

Title:
  ESM/FIPS does not show enabled with non-standard apt sources

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to