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

Scott Moser smoser at ubuntu.com
Thu Oct 8 13:02:49 UTC 2015


hey. saw this in my inbox, and very happy! thank you for working on
this.

one note, in update-notifier-3.164/data/update-motd-updates-available

+    trap cleanup EXIT
+    tmpfile=$(mktemp)

if tmpfile was set in the environment prior to this program running, and
you exited for some reason between those two, then you'd rm the
previously set 'tmpfile'.

the easy fix is to just declare 'tmpfile=' before trapping cleanup.

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