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

Brian Murray 1900718 at bugs.launchpad.net
Tue Oct 20 20:56:35 UTC 2020


** Also affects: ubuntu-image (Ubuntu)
   Importance: Undecided
       Status: New

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

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

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