** Description changed:
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
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 p
Thank you! Uploaded.
** Changed in: update-notifier (Ubuntu)
Status: Confirmed => Fix Committed
--
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, pr
** Branch linked: lp:update-notifier
--
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 t
looks good to me.
--
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.lau
** Patch added: "Enhanced fix for Wily and Upstream (version 3)"
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/525674/+attachment/4489492/+files/wily_and_dev_package.debdiff
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscri
Martin:
- I already removed one indirection with my former patch and love to remove one
more.
Simple code = good code - thanks for the good hint.
- I changed it slightly to use the existing variable so people recognize from
which code
it came and to avoid issues if one ever changes only one o
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 betwee
Thanks for working on this! Diff looks good (pitti pointed some minor
things out already).
One more thing, please keep the part:
"DPkg::Post-Invoke {"if [ -d /var/lib/update-notifier ]; then touch
/var/lib/update-notifier/dpkg-run-stamp; fi; "
the part of update-notifier that displays a icon (u
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/
** Patch added: "Enhanced fix for Wily and Upstream"
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/525674/+attachment/4487279/+files/wily_and_dev_package.debdiff
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the b
Here the bigger, but more architecturally complete solution for
wily&upstream (which is actually identical at this time).
Summary:
- move the actual updating part out of the pam based trigger completely (avoids
slowdown)
- pam based motd now only prints the cached info (if existing)
- hook into a
FYI - After a discussion I'll likely revamp the patches for wily and upstream
the next days.
Until then we will also decide if this is worth SRUs for trusty/vivid.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https:/
The attachment "Fix for trusty" seems to be a debdiff. The ubuntu-
sponsors team has been subscribed to the bug report so that they can
review and hopefully sponsor the debdiff. If the attachment isn't a
patch, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you
** Patch added: "Fix for wily"
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/525674/+attachment/4486127/+files/wily_package.debdiff
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launch
** Patch added: "Fix for vivid"
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/525674/+attachment/4486126/+files/vivid_package.debdiff
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.laun
Other MOTD plugins use caching, for example
/usr/lib/update-notifier/update-motd-reboot-required does:
if [ -f /var/run/reboot-required ]; then
cat /var/run/reboot-required
fi
Actually /usr/lib/update-notifier/update-motd-updates-available already uses
"caching" like the others.
It store
** Patch added: "Fix for upstream"
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/525674/+attachment/4486128/+files/upstream_package.debdiff
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bug
** Patch added: "Fix for trusty"
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/525674/+attachment/4486125/+files/trusty_package.debdiff
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.la
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 ti
This is really painful - although I don't experience complete hangs, I do
experience 12-second+ delays while
the script "90-updates-available" grinds slowly though. So login via SSH is
unpleasantly slow. Furthermore, bash completion for tab completion on scp
commands is also very slow.
The wor
(P.S. Even worse is connecting via a stack of SSH tunnels, eg behind a
firewall. It takes almost 30 seconds to get a prompt, and ssh -vvv
doesn't help identify the issue).
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
To answer self, there are pam_motd references in /etc/pam.d/{login,ssh}
(!). 'Cause hey, you never know when you need that important ssh session
or CONSOLE login delayed for a while...
And since the very same friendly developers will be in charge of the
next release (and the next one after that),
What connects loging in to running update-notifier? I'd like to disable
that (especially for SSH logins) without removing update-notifier
completely.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs
I was about to file this bug, so I'll confirm it. I have not seen the
apt-check hang entirely, but it is very slow to run, and blocks initial.
Note, you may have seen what appeared to be a hang due to the very bad
performance of security.ubuntu.com in the past few days. That
performance was due
Subscribed Ubuntu Server Team as this is an issue that prevents remote
servicing of Lucid hosts.
--
apt-check hangs, preventing login via SSH
https://bugs.launchpad.net/bugs/525674
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.
--
26 matches
Mail list logo