[Bug 1855918] Re: show-motd: Show MOTD from /etc/profile.d snippet in the first shell every day

Chris Halse Rogers raof at ubuntu.com
Tue Dec 10 23:41:18 UTC 2019


Hello Balint, or anyone else affected,

Accepted update-motd into eoan-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/update-
motd/3.6-0ubuntu1.19.10.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-eoan to verification-done-eoan. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-eoan. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: update-motd (Ubuntu Eoan)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-eoan

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-motd in Ubuntu.
https://bugs.launchpad.net/bugs/1855918

Title:
  show-motd: Show MOTD from /etc/profile.d snippet in the first shell
  every day

Status in update-motd package in Ubuntu:
  Fix Released
Status in update-motd source package in Eoan:
  Fix Committed

Bug description:
  [Impact] (Compared to LP: #1855089)

   * Users are shown MOTD once a day but only in a shell started at a
  later hour than the one that showed MOTD the day before. This a bit
  confusing and harder to predict than showing MOTD in the first started
  shell every day. This fix implements the latter.

  [Test Case]
   * MOTD should be shown when touch refers to a date yesterday:

   $ install show-motd
   $ touch -d 'now - 23 hours' $HOME/.motd_shown
   $ . /etc/profile.d/update-motd.sh
  ...
   $ touch -d 'now - 25 hours' $HOME/.motd_shown
   $ . /etc/profile.d/update-motd.sh
  ...
   $ touch -d 'now - 1 hour' $HOME/.motd_shown
   $ . /etc/profile.d/update-motd.sh
  ...

  
  [Regression Potential]

   * Since this is an improvement of the new functionality only
  available in -proposed there is no extra regression potential compared
  to the change introducing the new functionality in LP: #1855089.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-motd/+bug/1855918/+subscriptions



More information about the foundations-bugs mailing list