[18.04 FEAT] upgrade util-linux >=2.32

Bug #1731937 reported by bugproxy
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
Wishlist
Canonical Foundations Team
util-linux (Ubuntu)
Fix Released
Wishlist
Skipper Bug Screeners

Bug Description

Upgrade to newest version including lsmem/chmen; add memory zone awareness .

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-161261 severity-high targetmilestone-inin1804
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
affects: ubuntu → util-linux (Ubuntu)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2017-11-13 09:48 EDT-------
The patches are now upstream, after the 2.31 release, so they will be in 2.32.
Canonical probably can not wait until 2.32, but the following commits should apply on top of 2.31.

Currently 2.31 is available here :
https://www.kernel.org/pub/linux/utils/util-linux/v2.31/

Following patches could be applied.

https://github.com/karelzak/util-linux/commit/60a7e9e94e49215b1e6ac6e33b69c3bd0a426b5e
commit 60a7e9e94e49215b1e6ac6e33b69c3bd0a426b5e
Author: Gerald Schaefer <email address hidden>
Date: Wed Sep 27 19:44:44 2017 +0200

lsmem/chmem: add memory zone awareness

With this patch, valid memory zones can be shown with lsmem, and chmem can
set memory online/offline in a specific memory zone, if allowed by the
kernel. The valid memory zones are read from the "valid_zones" sysfs
attribute, and setting memory online to a specific zone is done by
echoing "online_kernel" or "online_movable" to the "state" sysfs
attribute, in addition to the previous "online".

This patch also changes the default behavior of chmem, when setting memory
online without specifying a memory zone. If valid, memory will be set
online to the zone Movable. This zone is preferable for memory hotplug, as
it makes memory offline much more likely to succeed.

Signed-off-by: Gerald Schaefer <email address hidden>

https://github.com/karelzak/util-linux/commit/0a4320f5e785e82337c3a657c55651004e3fd08d
commit 0a4320f5e785e82337c3a657c55651004e3fd08d
Author: Gerald Schaefer <email address hidden>
Date: Wed Sep 27 19:44:45 2017 +0200

tests/lsmem: update lsmem test with ZONES column

The existing s390 and x86_64 dumps already contain the valid_zones sysfs
attribute, so just add a new "lsmem -o +ZONES" test command and update
the expected results.

Signed-off-by: Gerald Schaefer <email address hidden>

https://github.com/karelzak/util-linux/commit/afee3f204247fbc8e4cfaa1698f3d98762544dd8
commit afee3f204247fbc8e4cfaa1698f3d98762544dd8
Author: Andre Wild <email address hidden>
Date: Wed Sep 27 19:44:46 2017 +0200

lsmem/chmem: add memory zone awareness to bash-completion

This patch extends the valid --output values with ZONES for the
lsmem bash-completion, and adds the --zone option for the chmem
bash-completion.

Signed-off-by: Andre Wild <email address hidden>
Signed-off-by: Gerald Schaefer <email address hidden>

Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
importance: Undecided → High
assignee: nobody → Canonical Foundations Team (canonical-foundations)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

We can cherry-pick these commits, or upgrade to 2.32 if and when it is available.

This request is accepted at a wishlist priority, and should not be requested as high.

Scheduling this by end of december for bionic only.

Changed in util-linux (Ubuntu):
status: New → Triaged
importance: Undecided → Wishlist
milestone: none → ubuntu-17.12
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
importance: High → Wishlist
status: New → Triaged
Changed in util-linux (Ubuntu):
status: Triaged → In Progress
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Triaged → In Progress
information type: Private → Public
Changed in util-linux (Ubuntu):
status: In Progress → Fix Committed
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package util-linux - 2.30.2-0.1ubuntu1

---------------
util-linux (2.30.2-0.1ubuntu1) bionic; urgency=medium

  * Merge from Debian unstable. Remaining changes:
    - Build hwclock with audit support.
    - Ship lsmem/chmeme utilities.
    - Regularly trim SSDs automatically (core-1311-ssd-trimming):
      + Add debian/fstrim-all.cron: Call fstrim --all. Installed as
        /etc/cron.weekly/fstrim.
    - Drop debian/hwclock.rules and hwclock.default, recent kernels sync the
      RTC automatically.
    - Add sulogin-fallback-static-sh.patch: Add support for /bin/static-sh as
      fallback if the regular shell fails to execute. Patch ported from
      sysvinit. (see LP #505887)
    - Add sulogin-lockedpwd.patch: Make sure file systems can be fixed on
      machines with locked root accounts (as Ubuntu does by default). Don't
      require --force for sulogin.
    - Drop the Breaks: cloud-utils, Ubuntu has a different cloud-utils
      packaging and this does not affect Ubuntu ≥ 16.04 any more.
    - Add debian/util-linux.maintscript to clean upstart jobs on upgrade. This
      needs to be kept until after 18.04 LTS.
    - Add fallocate binary to util-linux-udeb.

  * Cherrypick upstream patches to add zones support to lsmem/chmem. LP:
    #1731937.

util-linux (2.30.2-0.1) unstable; urgency=medium

  * Non-maintainer upload.
  * New upstream version 2.30.2 (Closes: #877932)
    - fstab(5): mention how tabs are escaped (Closes: #580047)
    - fstrim: prefer earlier mounted filesystems (Closes: #864806)
    - lib/pager: don't use pager if command not available (Closes: #852605)
    - lscpu: use libsmartcols to print summary too (Closes: #811488)
  * Disable pristine-tar.
    It's currently not possible to generate pristine tarballs for util-linux
    with pristine-tar.
    See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=869191
  * Update symbols file for libblkid1, libfdisk1, libmount1 and libsmartcols1
  * Add bison to Build-Depends
  * Drop d/p/man-page-tweaks-cleanup-my_dev_t.h-ancient-stuff.patch.
    No longer useful, as it adds a reference to the deprecated SysV init
    script and a no longer existing README file.
  * Drop d/p/Disable-the-fallback-clause-in-hwclock-when-dev-rtc-.patch.
    Fixed upstream.
  * Refresh remaining patches

util-linux (2.29.2-5) unstable; urgency=medium

  * Switch to XB-Important: yes to actually apply it.
    Thanks to Adam Borowski for the catch. (Closes: #872877)
  * Let uscan verify signature of upstream tarballs
  * Bump Standards-Version to 4.1.0
  * Reinstate LaMont as primary maintainer and remove myself from uploaders

util-linux (2.30.1-0ubuntu5) bionic; urgency=medium

  * Add --with-audit to rules file and libaudit-dev to build depenedencies.
    The hwclock needs audit defined in order to create audit records when
    time is changed. (LP: #1722313)

 -- Dimitri John Ledkov <email address hidden> Fri, 17 Nov 2017 14:20:10 +0000

Changed in util-linux (Ubuntu):
status: Fix Committed → Fix Released
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-01-10 05:17 EDT-------
IBM Bugzilla status-> closed, version 2.30+commits for 2.32 included.

tags: added: id-5a136921f67e5fc95e71142e
tags: added: id-5a09d0b4f79af9de897569fb
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.