[Bug 1838975] Re: Login is slow.

rew 1838975 at bugs.launchpad.net
Mon Aug 5 12:45:39 UTC 2019


P.S. 
I THINK that update-motd is meant to run the updates only occasionally, and just cache the results somewhere. 
I'd find a reasonable strategy that if the cache is older than an hour, but less than 24h, you'd get the cached version, but a refresh is run in the background. If the cache is older than 24h, you'll have to wait for the cache to be refreshed. If the cache is less than an hour old, show the cache.

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

Title:
  Login is slow.

Status in update-notifier package in Ubuntu:
  New

Bug description:
  I've installed Ubuntu-server on a raspberry pi 3. That's my first
  Ubuntu install, previously I've always used Raspbian. Anyway, my
  impression was that ubuntu was seriously sluggish compared to
  raspbian.

  Turns out that one of the main things is that the login through ssh
  runs a whole bunch of update-notifier scripts that take a while (5-6
  seconds in my case).

  After disabling most of the scripts in /etc/update-motd.d, the Ubuntu-
  raspberry is now pleasantly fast. (It is now copying files. Hopefully
  it'll finish this month: a WHOLE lot of files.... :-) Yes the estimate
  of a month is realistic.)

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: update-notifier-common 3.192.1.7
  ProcVersionSignature: Ubuntu 4.15.0-1041.44-raspi2 4.15.18
  Uname: Linux 4.15.0-1041-raspi2 aarch64
  ApportVersion: 2.20.9-0ubuntu7.7
  Architecture: arm64
  Date: Mon Aug  5 12:33:36 2019
  PackageArchitecture: all
  SourcePackage: update-notifier
  UpgradeStatus: No upgrade log present (probably fresh install)
  modified.conffile..etc.update-motd.d.90-updates-available: [inaccessible: [Errno 13] Permission denied: '/etc/update-motd.d/90-updates-available']
  modified.conffile..etc.update-motd.d.95-hwe-eol: [inaccessible: [Errno 13] Permission denied: '/etc/update-motd.d/95-hwe-eol']

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



More information about the foundations-bugs mailing list