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

Martin Pitt martin.pitt at ubuntu.com
Wed Oct 7 13:53:20 UTC 2015


Thanks Christian! Some remarks:

 - The introduction of data/get-motd-updates-available seems like an
unnecessary indirection to me. Instead of checking the executability of
that and run it, debian/90-updates-available could just directly do

  cat /var/lib/update-notifier/updates-available 2>/dev/null || true

or

  [ ! -r /var/lib/update-notifier/updates-available ] || cat /var/lib
/update-notifier/updates-available

if you prefer that. This would be simpler IMHO.

 - changelog should point out that data/update-motd-updates-available
now runs in the background, to avoid blocking "apt-get update"
unnecessarily long.

These are just nitpicks, this looks fine by and large. Thanks for
working on this!

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

Title:
  apt-check hangs, preventing login via SSH

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



More information about the Ubuntu-server-bugs mailing list