Comment 3 for bug 1691901

Revision history for this message
Scott Moser (smoser) wrote : Re: 50-motd-news costs 5 seconds every login on firewalled systems

Steve,
It should not be a requirement to have connectivity to motd.ubuntu.com to have quick login.
Its quite common to have ingress networking like we see in our labs.

I suggest the fix would be better to background the download and to atomically move it the content into place. Then the reader would just display it if it were present.

Then,
 a.) pure failure to reach (ECONNREFUSED or EHOSTUNREACH) would simply show no data in motd.
 b.) hang would be gone and would simply not have data in the motd
 c.) fast success would be shown on this login
 d.) slower success would be shown on next login (possibly stale, which is always going to be a possibility)