[lunar] Hundreds of calls to lsb_release from apt-check
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm not entirely sure the bug is in update-notifier, but let's start here.
In lunar, this script is triggering hundreds of calls to "lsb_release -c -s":
# time /usr/lib/
221 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
real 0m7.628s
user 0m5.955s
sys 0m1.115s
Running execsnoop on the host, and apt-check in a lunar lxd container, execsnoop records 222 lsb_release calls.
The exact lsb_release call comes from get_dist() from https:/
Here is a pastebin: https:/
apt-check's pid is 352917 (line 39 of paste), and that's the PPID of every lsb_release call following that
Related branches
- Ubuntu Core Development Team: Pending requested
-
Diff: 44 lines (+10/-5)1 file modifieddata/apt_check.py (+10/-5)
Status changed to 'Confirmed' because the bug affects multiple users.