[Bug 1855290] Update Released

Brian Murray brian at ubuntu.com
Tue Dec 17 16:46:16 UTC 2019


The verification of the Stable Release Update for update-notifier has
completed successfully and the package is now being released to
-updates.  Subsequently, the Ubuntu Stable Release Updates Team is being
unsubscribed and will not receive messages about this bug report.  In
the event that you encounter a regression using the package from
-updates please report a new bug using ubuntu-bug and tag the bug report
regression-update so we can easily find any regressions.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1855290

Title:
  Don't run /usr/lib/update-notifier/update-motd-hwe-eol in containers

Status in update-notifier package in Ubuntu:
  Fix Released
Status in update-notifier source package in Eoan:
  Fix Released

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1855290/+subscriptions



More information about the foundations-bugs mailing list