update-motd-updates-available wastes 1 second on every login by forking hundreds of /usr/bin/stat
Bug #1200044 reported by
Anders Kaseorg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The /usr/lib/
The entire NEED_UPDATE_CHECK logic can be replaced with a single call to find -newer, which speeds up the script by a factor of 20.
Related branches
lp:~andersk/update-notifier/lp1200044
- Michael Vogt: Pending requested
- Ubuntu Core Development Team: Pending requested
-
Diff: 66 lines (+14/-30)1 file modifieddata/update-motd-updates-available (+14/-30)
lp:update-notifier/ubuntu
Superseded
for merging
into
lp:~dennis/update-notifier/apt-proxies
- Dennis Kaarsemaker: Pending requested
- Diff: 0 lines
Changed in update-notifier (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
This bug was fixed in the package update-notifier - 0.142
---------------
update-notifier (0.142) saucy; urgency=low
[ Anders Kaseorg ] motd-updates- available: Avoid forking hundreds of /usr/bin/stat
* update-
(LP: #1200044)
-- Michael Vogt <email address hidden> Mon, 15 Jul 2013 09:12:52 +0200