[Bug 1926819] Re: Empty MOTD on up-to-date systems (includes fix)

Aaron Thompson 1926819 at bugs.launchpad.net
Wed May 5 21:25:06 UTC 2021


Thanks for the response Lucas. I would prefer to see something to the
effect that the system is up to date, because that at least tells me
that update-notifier-common is there and working. But if the decision is
to not write anything in that case, then I strongly agree with Daniel.
The 3 blank lines are really noticeable and they make it look like
something went wrong. It looks like something is supposed to be there
but isn't. IMO there should be 1 or 0 blank lines. Anything more and it
looks like a potential bug.

I would suggest that the tests from my patch (or similar) be added to
the codebase, updated with the intended output of course. Such tests
would make it clear that this change was intentional and not accidental.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1926819

Title:
  Empty MOTD on up-to-date systems (includes fix)

Status in update-notifier package in Ubuntu:
  Confirmed

Bug description:
  Starting with update-notifier-common 3.192.30.7 (focal), my up-to-date
  systems are showing this MOTD on login:

  Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-72-generic x86_64)


  user at host:~$

  
  I've attached a patch that fixes this issue and adds more test cases.

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



More information about the Ubuntu-sponsors mailing list