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

Ɓukasz Zemczak 1900718 at bugs.launchpad.net
Wed Jan 10 12:01:07 UTC 2024


** Changed in: ubuntu-image
       Status: In Progress => 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:
  Fix Released
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