[Bug 1757220] Re: Removing the package keeps the motd alive

Andreas Hasenack andreas at canonical.com
Wed Mar 21 12:52:55 UTC 2018


This is invalid.

The cache file is kept, yes, but it's no longer displayed because the motd script has this check:
#!/bin/sh

UA=${UA:-"/usr/bin/ubuntu-advantage"}
UA_STATUS_CACHE=${UA_STATUS_CACHE:-"/var/cache/ubuntu-advantage-tools/ubuntu-advantage-status.cache"}

[ -x "$UA" ] || exit 0


So it will just exit without showing the stale cache file.

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

-- 
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