[Bug 1707290] [NEW] Removing package leaves motd script in place, renders incorrect motd
Andreas Hasenack
andreas at canonical.com
Fri Jul 28 20:05:25 UTC 2017
Public bug reported:
Removing the ubuntu-advantage-tools package (not purging: removing) will
leave the /etc/update-motd.d/99-esm script in place. Accordingly, it
will run at login time, but since it calls out to the ubuntu-advantage
script that no longer exists, it fails.
This is the sequence of events:
- ubuntu-advantage-tools is installed
- sudo ubuntu-advantage enable-esm with a valid token is run
- logout and login, confirming that the MOTD says something like "This Ubuntu 12.04 system is configured to receive extended security updates"
- remove (not purge) the ubuntu-advantage package. This will leave the sources.list.d/ file with the ESM repository in place and working, but remove the ubuntu-advantage script
- logout and login. The MOTD will now say "This Ubuntu 12.04 LTS system is past its End of Life", even though the ESM repository is still enabled and functioning.
** Affects: ubuntu-advantage-script
Importance: Unknown
Status: Unknown
** Affects: ubuntu-advantage-tools (Ubuntu)
Importance: Low
Status: New
** Bug watch added: github.com/CanonicalLtd/ubuntu-advantage-script/issues #28
https://github.com/CanonicalLtd/ubuntu-advantage-script/issues/28
** Also affects: ubuntu-advantage-script via
https://github.com/CanonicalLtd/ubuntu-advantage-script/issues/28
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to ubuntu-advantage-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1707290
Title:
Removing package leaves motd script in place, renders incorrect motd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-advantage-script/+bug/1707290/+subscriptions
More information about the Ubuntu-server-bugs
mailing list