Your message dated Thu, 24 Nov 2016 12:00:16 +0000
with message-id <e1c9shm-000gsw...@fasolo.debian.org>
and subject line Bug#844713: fixed in partman-swapfile 1
has caused the Debian Bug report #844713,
regarding ITP: partman-swapfile -- add support for creating swapfiles
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
844713: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844713
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Owner: Dimitri John Ledkov <x...@ubuntu.com>
Severity: wishlist
* Package name : partman-swapfile
Version : 1
Upstream Author : d-i team
* URL or Web page : d-i
* License : GPL
Description : add support for creating swapfiles
I am working on minimising number of partitions used in the default
instalations in Ubuntu. One of the things I have done already in Ubuntu is to
tweak and not use dedicated /boot partition for non-encrypted LVM based
installations. Simply by tweaking the partman-auto recipes, on
architectures/bootloaders that support booting off LVM.
Another thing I am investigating is moving away from swap partitions to
swap files, on non-lvm installations. This will involve tweaking the
default partman-auto recipes & the no-swap warning.
However, to provide swapfiles out of the box I wrote this
partman-swapfile module which hooks into /lib/partman/finish.d to create
/target/swapfile with an appropriate stanza in /target/etc/fstab. Care
is taken not to create swapfiles uncessory, reuse existing one, or do
nothing if a swap partition is already present, or swapfiles not
supported on a given filesystem (e.g. btrfs).
There are two control options to configure the size of the
swapfile. Absolute size, and percentage of free space on the
rootfs. The defaults are 2GB and 5%, meaning the swapfile will be 2GB in
size or 5% of the free space on rootfs, whichever is lower. Setting the
size or percentage to zero will skip creating the swapfile. This is a
strategy to make sure there is some swap available, without wasting too
much of disk space on high-memory-to-disk ratio systems (e.g. 1TB of RAM
with a 200GB hard drive).
I am not at all sure if this functionality is at all welcomed, needed,
or will generate any interest. I do not know if it's wanted to be
available by default in Debian's d-i. At the moment I created a git
repository in the d-i team, and plan to upload this to experimental for
people to try this out.
On the implementation side, swapfile is allocated using fallocate (if
avaialble and target filesystem creates files without holes using
fallocate) otherwise "slow" dd is used. This makes swapfile creation
really quick on ext4 rootfs.
All the glory details are here:
https://anonscm.debian.org/cgit/d-i/partman-swapfile.git/tree/finish.d
Regards,
Dimitri.
--- End Message ---
--- Begin Message ---
Source: partman-swapfile
Source-Version: 1
We believe that the bug you reported is fixed in the latest version of
partman-swapfile, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 844...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dimitri John Ledkov <x...@ubuntu.com> (supplier of updated partman-swapfile
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 17 Nov 2016 10:50:01 +0000
Source: partman-swapfile
Binary: partman-swapfile
Architecture: all source
Version: 1
Distribution: experimental
Urgency: medium
Maintainer: Debian Install System Team <debian-b...@lists.debian.org>
Changed-By: Dimitri John Ledkov <x...@ubuntu.com>
Closes: 844713
Description:
partman-swapfile - Add to partman support for swapfile (udeb)
Changes:
partman-swapfile (1) experimental; urgency=medium
.
* Initial release. (Closes: #844713)
Checksums-Sha1:
381591bf0996e225f7311a9eec3ca98a9ee702e3 1287 partman-swapfile_1.dsc
7a66c2a5484995a7e9f5a1e63fb6d5add598bda3 2876 partman-swapfile_1.tar.xz
573eb5c8e3f58a1de562881f49c6483bf65dcaac 2136 partman-swapfile_1_all.udeb
Checksums-Sha256:
3317a3ecaaa5dc7ca1c66e8a74cda7090e61e7a42d34285cc2a820fbc5918b80 1287
partman-swapfile_1.dsc
7656639ed5917d4bbf7c753bc6b50328263ec9efef0ff84a70e1e0a244367a6b 2876
partman-swapfile_1.tar.xz
e450f8db925fa167b5a24e8bcacf816138423ddae43cdfb15bb53310f042fc0c 2136
partman-swapfile_1_all.udeb
Files:
1a99d7658bc92d4da93042d666dff9ea 1287 debian-installer standard
partman-swapfile_1.dsc
741cc6c379ff5e1dd27e93fb24dc72fd 2876 debian-installer standard
partman-swapfile_1.tar.xz
0703e5c8000929b97f7e5de0f4774a91 2136 debian-installer standard
partman-swapfile_1_all.udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJYLvqkAAoJEMrC2LnNLKX521oIALSHhPZ4HRVlAJCOxBm8+Ae8
cFVirWNynN/99paQIMHxnzdINGvOqRXkxIunYkYjcsLxcaPH56MgNXM4tyhSoKWA
o1JOgTkI25GnFE6dXjCgT0s6qTvsb0EpH5RhJFW7vYmydRRNmups+GUk7DoJCVws
ISe4JTlbEma44HXbZYGYXpgZ4zUjsW9AaLKmM3GaR0ubjumzb/a22fc+U5sBU6bH
FRdFff6mnO2pisYAv/sjU5kjAiWMUxYZq7yrrWoeGxgSJske6DGCClOHzdiP2oOA
Dtkai4hPEUAygE5CCCemPOHPT8KHHV/74GAdC5Eq3OytgTxNThv4IEZZOHunigk=
=uY9V
-----END PGP SIGNATURE-----
--- End Message ---