[Bug 525674] Re: apt-check hangs, preventing login via SSH

RichardNeill ubuntu at richardneill.org
Mon May 5 16:17:41 UTC 2014


Interestingly, 14.04 seems to be much better at this than 12.04, takling around 1.5 sec rather than 12.
However, it's interesting how much faster it can still be without this. 

Here is a measurement I made.  This is 14.04 server on the LAN, with ssh-key authentication, and I repeated serveral times:
   time  ssh server_on_lan true

With the /etc/update-motd.d/*  files unaltered, this takes ~ 1.13 sec
After chmod -x, this takes  ~ 0.15 sec.

I hope that helps,

-- 
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/525674

Title:
  apt-check hangs, preventing login via SSH

Status in “update-notifier” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: update-notifier

  While investigating protracted hangs in the remote login process, I
  noticed that apt-check is called to update the list of available
  updates and print the number of updatable packages in the MOTD. As it
  so happens, apt-check often hangs in mid-update, which effectively
  prevents remote login via SSH from taking place.

  ProblemType: Bug
  Architecture: i386
  Date: Mon Feb 22 12:20:16 2010
  DistroRelease: Ubuntu 10.04
  Package: update-notifier-common 0.96
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=fi_FI.UTF-8
   PATH=(custom, user)
   LANG=fi_FI.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
  SourcePackage: update-notifier
  Uname: Linux 2.6.32-14-generic i686

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



More information about the foundations-bugs mailing list