[Bug 1855290] Re: Don't run /usr/lib/update-notifier/update-motd-hwe-eol in containers

Ɓukasz Zemczak 1855290 at bugs.launchpad.net
Mon Dec 9 17:34:07 UTC 2019


Hello Balint, or anyone else affected,

Accepted update-notifier into eoan-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/update-
notifier/3.192.26.1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-eoan to verification-done-eoan. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-eoan. In either case, without details of your
testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: update-notifier (Ubuntu Eoan)
       Status: New => Fix Committed

** Tags added: verification-needed verification-needed-eoan

-- 
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 Committed

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