[Bug 1900718] Re: ubuntu-image turns non-sparse swapfile into a sparce file forcefully

Launchpad Bug Tracker 1900718 at bugs.launchpad.net
Tue Oct 20 22:45:38 UTC 2020


This bug was fixed in the package ubuntu-image - 1.10+20.10ubuntu2

---------------
ubuntu-image (1.10+20.10ubuntu2) groovy; urgency=medium

  [ Brian Murray ]
  * Fix a typo in README.rst.

  [ Łukasz 'sil2100' Zemczak ]
  * Add a workaround for mkfs.ext4 forcefully sparsifying our classic image
    swapfile (LP: #1900718)

 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak at ubuntu.com>  Tue, 20 Oct
2020 19:40:57 +0200

** Changed in: ubuntu-image (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  ubuntu-image turns non-sparse swapfile into a sparce file forcefully

Status in Ubuntu Image:
  In Progress
Status in ubuntu-image package in Ubuntu:
  Fix Released

Bug description:
  We wanted to add a 1GB /swapfile to the Pi desktop images, and we do
  so via livecd-rootfs hooks. Everything is done correctly there, but
  apparently mkfs.ext4, when populating the contents, turns our non-
  sparse 1GB swapfile into a sparse one. We tried reading the possible
  options (along with 'nodiscard') but nothing worked.

  We will work-around it in ubuntu-image for now, until we get a better
  idea. This basically blocks the pi images from being releasable.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/1900718/+subscriptions



More information about the foundations-bugs mailing list