[Bug 1757220] [NEW] Removing the package keeps the motd alive
Andreas Hasenack
andreas at canonical.com
Tue Mar 20 18:18:31 UTC 2018
Public bug reported:
If the ubuntu-advantage-tools package is removed (not purged), and the
motd message has been generated at least once before, it will stick in
the motd forever. The reason is that the cached motd file output remains
on disk in /var/cache/update-advantage-tools.
This does not happen if the package is purged instead of removed.
The cronjob also remains behind. It exits early if the ubuntu-advantage
script is not installed, however.
Ideally upon removing the package these should be removed as well, and not just when the package is purged:
- /var/cache/update-advantage-tools/ubuntu-advantage-status.cache
- /etc/cron.daily/ubuntu-advantage-tools
- /etc/update-motd.d/80-{livepatch,esm}
To fix this bug, at a minimum the cache file should be deleted upon
removal of the package.
** Affects: ubuntu-advantage-tools (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
If the ubuntu-advantage-tools package is removed (not purged), and the
motd message has been generated at least once before, it will stick in
the motd forever. The reason is that the cached motd file output remains
on disk in /var/cache/update-advantage-tools.
This does not happen if the package is purged instead of removed.
The cronjob also remains behind. It exits early if the ubuntu-advantage
script is not installed, however.
Ideally upon removing the package these should be removed as well, and not just when the package is purged:
- /var/cache/update-advantage-tools/ubuntu-advantage-status.cache
- /etc/cron.daily/ubuntu-advantage-tools
- /etc/update-motd.d/80-{livepatch,esm}
+
+ To fix this bug, at a minimum the cache file should be deleted upon
+ removal of the package.
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to ubuntu-advantage-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1757220
Title:
Removing the package keeps the motd alive
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1757220/+subscriptions
More information about the Ubuntu-server-bugs
mailing list