That's an interesting find. I would expect the cache to always match the
installed package/code, because it is generated at post-install time:

/var/lib/dpkg/info/ubuntu-pro-client.postinst:
...
# Automatically added by dh_python3
if command -v py3compile >/dev/null 2>&1; then
        py3compile -p ubuntu-pro-client:amd64 
fi
if command -v pypy3compile >/dev/null 2>&1; then
        pypy3compile -p ubuntu-pro-client:amd64  || true
fi
...

Those commands are what generate the cache.

I'll add this bug to our internal triage discussion call.


** Tags added: server-triage-discuss

** Changed in: ubuntu-advantage-tools (Ubuntu)
       Status: New => Triaged

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

Title:
  AppArmor denied audit messages related to __pycache__ in dmesg

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


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

Reply via email to