Public bug reported:
[Impact]
* Information of HWE kernels are shown in containers despite this information
is useless most of the time since containers use the host systems' kernels.
* The check for HWE kernels is noticably slow OTOH, taking around 0.2s on my
intel i5 laptop.
[Test Case]
* Run the script in a container to see it being shortcut:
$ bash -x /usr/lib/update-notifier/update-motd-hwe-eol
+ '[' '' = --force ']'
+ type systemd-detect-virt
+ systemd-detect-virt -q -c
+ exit
* Run the script in a VM of without virtualization to see it still taking long
time to execute:
$ time /usr/lib/update-notifier/update-motd-hwe-eol
real 0m0.241s
user 0m0.170s
sys 0m0.073s
[Regression Potential]
* The fix is very simple there is no expected regression.
** Affects: update-notifier (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1855290
Title:
Don't run /usr/lib/update-notifier/update-motd-hwe-eol in containers
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1855290/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs