Comment 0 for bug 1829968

Revision history for this message
Christian Reis (kiko) wrote :

I have a VM running on AWS. It was launched on May 9th:

  $ uptime
   05:26:21 up 12 days, 6:34, 1 user, load average: 0.00, 0.00, 0.00
  $ date
  Wed May 22 05:26:24 UTC 2019

I touched none of the system defaults, and yet the motd has not updated automatically.

  $ ls -l /var/cache/motd-news
  -rw-r--r-- 1 root root 0 May 9 22:53 /var/cache/motd-news

The systemd timer unit looks like this:

  $ systemctl status motd-news.timer
  ● motd-news.timer - Message of the Day
     Loaded: loaded (/lib/systemd/system/motd-news.timer; enabled; vendor preset: enabled)
     Active: active (elapsed) since Thu 2019-05-09 22:51:58 UTC; 1 weeks 5 days ago
    Trigger: n/a

  May 09 22:51:58 ip-172-31-23-224 systemd[1]: Started Message of the Day.

If I run /etc/update-motd.d/50-motd-news --force manually, the file does update correctly.