Hi there.  By design, it does not fetch motd.ubuntu.com with every ssh
session.

Rather, there's a systemd timer that runs, asynchronously once about a
minute after boot, and then every 12 hours (plus/minus a random interval
up to an hour).  That systemd timer updates a cache file,
/var/cache/motd, in the background.

At login, it just concatenates the /var/cache/motd file.

Note that it's easy to disable, or change to a different MOTD server, by
editing /etc/default/motd-news.

** Changed in: base-files (Ubuntu)
       Status: Triaged => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/1694730

Title:
  /etc/update-motd.d/50-motd-news calls home on each ssh connection

Status in base-files package in Ubuntu:
  Opinion

Bug description:
  This happens since Ubuntu 17.04 (Zesty)

  Why is /etc/update-motd.d/50-motd-news hitting https://motd.ubuntu.com
  each time I create a SSH connection?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1694730/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to