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

Launchpad Bug Tracker 525674 at bugs.launchpad.net
Fri Nov 13 13:42:04 UTC 2015


This bug was fixed in the package update-notifier - 3.164

---------------
update-notifier (3.164) xenial; urgency=medium

  * debian/90-updates-available
    - Now directly prints the cached info if available
      => avoid login stalls due to motd updates (LP: #525674)
    - Also fixes a former potential issue of existing but not readable cached
      info by changing the test from -e to -r
  * debian/99update-notifier:
    - Now additionally triggers the an asynchronous background update of the
      cached info via update-motd-updates-available hooking into
      APT::Update::Post-Invoke-Success.
  * data/update-motd-updates-available:
    - This now only contains the slow part of actually 'updating the cached
      info'.
    - It executes asynchronously to avoid stalling apt-get update.
    - The file is no more called by pam to avoid login stalls.
    - It also fixes an issue with concurrent updates clobbering the
      cached file via mv being atomic

 -- Christian Ehrhardt <christian.ehrhardt at canonical.com>  Fri, 13 Nov
2015 12:28:25 +0100

** Changed in: update-notifier (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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