Your message dated Tue, 10 Sep 2024 21:57:44 +0000
with message-id <e1so8ro-003psi...@fasolo.debian.org>
and subject line Bug#1076952: fixed in partman-auto 167
has caused the Debian Bug report #1076952,
regarding [RFD] partman-auto: Update guided partitioning size limits for
current and future needs
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.)
--
1076952: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076952
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: partman-auto
Version: 166
Tags: d-i
Dear maintainers,
Partition size limits in partman-auto recipes have issues:
- some limits are too low for current needs and should be raised;
- some limits are inconsistent across atomic, home and multi recipes;
- some priorities prevent the size from growing beyond the minimum.
I will take the example of amd64/efi recipes which are also used with
most other EFI architectures. Sizes are in MB (decimal, not MiB). The
recipe format is described in
/usr/share/doc/debian-installer/devel/partman-auto-recipe.txt.gz from
package debian-installer.
* recipes-amd64-efi/atomic
538 538 1075 free iflabel=gpt method=efi
512 512 768 ext2 $defaultignore /boot
900 10000 -1 default_fs $lvmok /
100% 512 200% linux-swap $lvmok
* recipes-amd64-efi/home
538 538 1075 free iflabel=gpt method=efi
512 512 768 ext2 $defaultignore /boot
1500 6000 30000 default_fs $lvmok /
100% 512 200% linux-swap $lvmok
1000 10000 -1 default_fs $lvmok /home
* recipes-amd64-efi/multi
538 538 1075 free iflabel=gpt method=efi
512 512 768 ext2 $defaultignore /boot
2000 3500 25000 default_fs $lvmok /
1000 1500 10000 default_fs $lvmok /var
100% 512 200% linux-swap $lvmok
256 400 2000 default_fs $lvmok /tmp
4000 10000 -1 default_fs $lvmok /home
(Limits for /boot have just been changed to "768 800 1024" in the source
repository to accommodate initramfs growth.
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076823>
<https://salsa.debian.org/installer-team/partman-auto/-/merge_requests/13>)
In addition to some MIN and MAX limits being obviously too low for
current needs, we can see that:
- The EFI partition has MIN=PRIORITY (538) so its size is always MIN
despite a higher MAX limit (1075).
- The MIN for / in atomic (900) is lower than the MIN in home (1500)
which is lower than the MIN in multi (2000). It should be the opposite.
- The MIN for /home is lower in home (1000) than in multi (4000). Why ?
- If RAM size >= 512 MB then the swap partition has PRIORITY (512) <=
MIN (100% RAM size), so its size is capped to MIN instead of MAX (200%
RAM size). By default the RAM size is also capped to 1 GB so the maximum
swap size is 1 GB, which prevents hibernation in many cases; but this is
another story, see
<https://salsa.debian.org/installer-team/partman-auto/-/merge_requests/12>.
- The EFI partition is not created if the disk label is MSDOS even
though it is supported by EFI boot. This can be an issue when using the
largest available space.
Related unanswered bug report with patch raising / and /var MIN sizes:
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929322>
I am filing this bug report to start a discussion about setting new
limits which are more consistent and fit current and possibly future
needs better. Of course this will increase the minimum disk size
requirements for guided partitioning.
Poll: What should be the MIN, MAX and minimum disk size to reach MAX for
- EFI partition (similar requirements as /boot for systemd-boot ?)
- /boot
- swap
- / in atomic recipe
- / in home recipe
- /home in home recipe
- / in multi recipe
- /var in multi recipe
- /tmp in multi recipe (or should tmpfs be used ?)
- /home in multi recipe
- other platform-specific partitions you know about ?
--- End Message ---
--- Begin Message ---
Source: partman-auto
Source-Version: 167
Done: Holger Wansing <hwans...@mailbox.org>
We believe that the bug you reported is fixed in the latest version of
partman-auto, 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 1076...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Holger Wansing <hwans...@mailbox.org> (supplier of updated partman-auto 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: SHA512
Format: 1.8
Date: Tue, 10 Sep 2024 22:40:04 +0200
Source: partman-auto
Architecture: source
Version: 167
Distribution: unstable
Urgency: medium
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Holger Wansing <hwans...@mailbox.org>
Closes: 929322 972396 987503 1076753 1076823 1076952
Changes:
partman-auto (167) unstable; urgency=medium
.
* Team upload
.
[ Holger Wansing ]
* Increase default size of /boot partition. See MR!13.
Closes: #1076823, #1076753, #972396.
.
[ Pascal Hambourg ]
* Update partition defaults for current and future needs; see MR15:
* Update partition size limits in predefined recipes.
* Add server recipe for machines with much RAM; limits the size of swap
partition to 1G.
* Add small_disk recipe for automatic partitioning on very small disks
(3GB-10GB) which are not big enough for other recipes.
* Update small_disk recipe description.
* choose_recipe(): check built-in recipe contains lvmok tag if using LVM.
* Closes: #987503, #929322, #1076952.
* Add build_recipes script as a tool to help with building recipes.
Checksums-Sha1:
ce1941429f34070b3ef7c10d429b9e70bb3f175e 1713 partman-auto_167.dsc
cae38629c0fa5bc4cbe82bcb2e889b3e0ba0f6b1 115660 partman-auto_167.tar.xz
d991c41d3552abe99fc03dbfc8c84cc2c460ac95 5914 partman-auto_167_amd64.buildinfo
Checksums-Sha256:
cda4b1552c7ec9f8900256a3ca93e6a62f8ef530784c7c53c8c3c48c45e37742 1713
partman-auto_167.dsc
e92fb4a3d50f1933ea58e675b5113ed007ebe137373fa097e001cca322d7558e 115660
partman-auto_167.tar.xz
b4a35edd2cf8865d60e5d9ea33b3bf494ddb93e01a7596754e10e40c16c059c8 5914
partman-auto_167_amd64.buildinfo
Files:
733902975a90209247e63aa4ee507672 1713 debian-installer standard
partman-auto_167.dsc
2f291f7bd518458271fbbdaf3db96897 115660 debian-installer standard
partman-auto_167.tar.xz
dc41245149fb604be7592e48fa9fb728 5914 debian-installer standard
partman-auto_167_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJJBAEBCgAzFiEESWrG6BRCSzSFCDUpWfGHyhVusHYFAmbgsKMVHGh3YW5zaW5n
QG1haWxib3gub3JnAAoJEFnxh8oVbrB2YjAP/jXwo9vWTb97I27EXbSd0+hm5o+u
aq+YL/5RnDytsQGHxdfYO7smMcmDEWxitJF0NcgN/y2AvPId0LfK3JrFgmoVE30X
lckFe3RMXCJEiXK2Q86iXbwXMleYiSipoGL/Ca8hcsnx2VRrw94uBJsvp0BzRs6A
SjhonfP3OJeQYr/NT0kyMspHFq9HnlC3OSOM7manAmDzIYFo02wYfYriCuOn9AmM
aIdxvCf1MGNATaaIC7Ccu/hD8qa6h2NfYG6xaIP1r2epy7SbUUDa5KzSp/SDkc1p
X+P5hts9hTG+mDgWQacc0AiQOpYZ5Yksn2saGqYnw0jUXDFNSOUDW4dAwGvcI3qn
BwSWdhW1yHL/PCGwZUN4d2x5jYyTcrjm6DENyTsDI8GB3MA0q2xXBVe6wHApWyof
eN5Cr0VXz4G6TVnn2EDUQjWUYwB55Zfd0B5WO/IEObnD3gSDnZQpAEhO6LFfPWjg
XDj7im/jEfkma7DyQFlkLerPOCaR8n08a2kyprpocFS38rZWQJRuyJiTB0zoDmil
+JxmrzYcoaQbxZUD94aEp8MYhbimOgUJ9EAulAfb/fjqvTd8fohhybZbUIkWLf9l
KPChTiADRUt5Zjw9fL6o+cCj+/Zu0I2y+3qzAwRFFTHws44h6f769/LeVKT8VU7I
B3ikiUT2707onHXW
=2gNO
-----END PGP SIGNATURE-----
pgpM39NQKAGnv.pgp
Description: PGP signature
--- End Message ---