Hi Steve,

thanks for the bug report.

Steve Schnepp wrote:
> The setup subcommand uses fallocate(1) which sometimes creates spare
> files. Those cannot be used for swapfiles as "swapon" will fail with
> "swapfile has holes".
> 
> Always using dd instead of fallocate seems better as it ensures the
> generated swapfile is valid. The fact that it takes more time than
> fallocate is also a good thing, since it done synchronously.

Using fallocate is a Debian-specific patch as this has been requested
by a Debian user. This issue can be fixed by just droppping that patch.

> * this bug is subtly different from #906767.

No, it is _totally_ different from #906767. Completely unrelated, too.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to