Activity log for bug #1959971

Date Who What changed Old value New value Message
2022-02-03 22:41:39 Brian Murray bug added bug
2022-02-03 22:46:10 Brian Murray description The kernel in Jammy is a bit larger than the one in Focal and we our previous /boot partition size calculation (LP: #1716999) likely didn't take into account adding modules like nvidia to the initramfs. Subsequently, we need to revisit the size calculations for Focal. I'm utilizing cryptsetup and nvidia modules and have a 164M initrd when using lz4 (the default in Focal) compression. Using the same formula we previously did we end up with this: 2* (3*11 + 4*164 + 11) = 1400 So modifying the maximum size to 1536 seems reasonable, the current minimum is 512 which is actually a bit too small for an initrd with less modules e.g.: 2* (3*11 + 4*62 + 11) = 584 So the minimum should also be increased to 768. The default compression level for Jammy is currently being discussed and until that is decided we shouldn't make changes to partman-auto for Jammy. The kernel in Jammy is a bit larger than the one in Focal and our previous /boot partition size calculation (LP: #1716999) likely didn't take into account adding modules like nvidia to the initramfs. Subsequently, we need to revisit the size calculations for Focal. I'm utilizing cryptsetup and nvidia modules and have a 164M initrd when using lz4 (the default in Focal) compression. Using the same formula we previously did we end up with this: 2* (3*11 + 4*164 + 11) = 1400 So modifying the maximum size to 1536 seems reasonable, the current minimum is 512 which is actually a bit too small for an initrd with less modules e.g.: 2* (3*11 + 4*62 + 11) = 584 So the minimum should also be increased to 768. The default compression level for Jammy is currently being discussed and until that is decided we shouldn't make changes to partman-auto for Jammy.
2022-02-03 22:49:07 Brian Murray nominated for series Ubuntu Focal
2022-02-03 22:49:07 Brian Murray bug task added partman-auto (Ubuntu Focal)
2022-02-03 22:49:58 Brian Murray partman-auto (Ubuntu Focal): status New In Progress
2022-02-03 22:50:01 Brian Murray partman-auto (Ubuntu Focal): importance Undecided High
2022-02-03 22:50:03 Brian Murray partman-auto (Ubuntu Focal): assignee Brian Murray (brian-murray)
2022-02-03 22:50:25 Brian Murray tags fr-1978
2022-02-03 23:20:01 Brian Murray description The kernel in Jammy is a bit larger than the one in Focal and our previous /boot partition size calculation (LP: #1716999) likely didn't take into account adding modules like nvidia to the initramfs. Subsequently, we need to revisit the size calculations for Focal. I'm utilizing cryptsetup and nvidia modules and have a 164M initrd when using lz4 (the default in Focal) compression. Using the same formula we previously did we end up with this: 2* (3*11 + 4*164 + 11) = 1400 So modifying the maximum size to 1536 seems reasonable, the current minimum is 512 which is actually a bit too small for an initrd with less modules e.g.: 2* (3*11 + 4*62 + 11) = 584 So the minimum should also be increased to 768. The default compression level for Jammy is currently being discussed and until that is decided we shouldn't make changes to partman-auto for Jammy. [Impact] All new installs of 20.04. [Test case] 1) Install Ubuntu 20.04 on a system 2) Validate that the size of the /boot partition is greater than or equal to 768MB; should be somewhere between 768MB and 1536GB. [Regression potential] This may adversely affect installs on tiny disks, by taking up more space for the /boot partition than was previously taken, at the cost of / or /home. As such, failures to install due to insufficient space on a partition, or failure to partition a disk that was previously working should be investigated as possible regressions. This is a corner case in general since there is no requirement to allocate a separate partition for /boot in the default configuration, and if you are using a non-default configuration where /boot must be a separate partition, you probably also don't have a disk so small that an additional 256MB of disk usage is a problem. --- The kernel in Jammy is a bit larger than the one in Focal and our previous /boot partition size calculation (LP: #1716999) likely didn't take into account adding modules like nvidia to the initramfs. Subsequently, we need to revisit the size calculations for Focal. I'm utilizing cryptsetup and nvidia modules and have a 164M initrd when using lz4 (the default in Focal) compression. Using the same formula we previously did we end up with this: 2* (3*11 + 4*164 + 11) = 1400 So modifying the maximum size to 1536 seems reasonable, the current minimum is 512 which is actually a bit too small for an initrd with less modules e.g.: 2* (3*11 + 4*62 + 11) = 584 So the minimum should also be increased to 768. The default compression level for Jammy is currently being discussed and until that is decided we shouldn't make changes to partman-auto for Jammy.
2022-02-03 23:20:23 Brian Murray nominated for series Ubuntu Jammy
2022-02-03 23:20:23 Brian Murray bug task added partman-auto (Ubuntu Jammy)
2022-02-03 23:20:29 Brian Murray partman-auto (Ubuntu Jammy): status New Triaged
2022-02-03 23:20:32 Brian Murray partman-auto (Ubuntu Jammy): importance Undecided High
2022-02-07 15:00:27 Łukasz Zemczak partman-auto (Ubuntu Focal): milestone ubuntu-20.04.4
2022-02-07 15:01:11 Łukasz Zemczak partman-auto (Ubuntu Focal): status In Progress Fix Committed
2022-02-07 15:01:13 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2022-02-07 15:01:16 Łukasz Zemczak bug added subscriber SRU Verification
2022-02-07 15:01:19 Łukasz Zemczak tags fr-1978 fr-1978 verification-needed verification-needed-focal
2022-02-07 15:03:27 Łukasz Zemczak bug task added ubiquity (Ubuntu)
2022-02-07 22:16:21 Launchpad Janitor ubiquity (Ubuntu): status New Confirmed
2022-02-07 22:16:21 Launchpad Janitor ubiquity (Ubuntu Focal): status New Confirmed
2022-02-10 17:47:35 Brian Murray ubiquity (Ubuntu Focal): status Confirmed Fix Committed
2022-02-11 19:01:28 Brian Murray description [Impact] All new installs of 20.04. [Test case] 1) Install Ubuntu 20.04 on a system 2) Validate that the size of the /boot partition is greater than or equal to 768MB; should be somewhere between 768MB and 1536GB. [Regression potential] This may adversely affect installs on tiny disks, by taking up more space for the /boot partition than was previously taken, at the cost of / or /home. As such, failures to install due to insufficient space on a partition, or failure to partition a disk that was previously working should be investigated as possible regressions. This is a corner case in general since there is no requirement to allocate a separate partition for /boot in the default configuration, and if you are using a non-default configuration where /boot must be a separate partition, you probably also don't have a disk so small that an additional 256MB of disk usage is a problem. --- The kernel in Jammy is a bit larger than the one in Focal and our previous /boot partition size calculation (LP: #1716999) likely didn't take into account adding modules like nvidia to the initramfs. Subsequently, we need to revisit the size calculations for Focal. I'm utilizing cryptsetup and nvidia modules and have a 164M initrd when using lz4 (the default in Focal) compression. Using the same formula we previously did we end up with this: 2* (3*11 + 4*164 + 11) = 1400 So modifying the maximum size to 1536 seems reasonable, the current minimum is 512 which is actually a bit too small for an initrd with less modules e.g.: 2* (3*11 + 4*62 + 11) = 584 So the minimum should also be increased to 768. The default compression level for Jammy is currently being discussed and until that is decided we shouldn't make changes to partman-auto for Jammy. [Impact] All new installs of 20.04. [Test case] 1) Install Ubuntu 20.04 with encryption (this'll create a separate /boot partition) on a system 2) Validate that the size of the /boot partition is greater than or equal to 768MB; should be somewhere between 768MB and 1536GB. [Regression potential]This may adversely affect installs on tiny disks, by taking up more space for the /boot partition than was previously taken, at the cost of / or /home. As such, failures to install due to insufficient space on a partition, or failure to partition a disk that was previously working should be investigated as possible regressions. This is a corner case in general since there is no requirement to allocate a separate partition for /boot in the default configuration, and if you are using a non-default configuration where /boot must be a separate partition, you probably also don't have a disk so small that an additional 256MB of disk usage is a problem. --- The kernel in Jammy is a bit larger than the one in Focal and our previous /boot partition size calculation (LP: #1716999) likely didn't take into account adding modules like nvidia to the initramfs. Subsequently, we need to revisit the size calculations for Focal. I'm utilizing cryptsetup and nvidia modules and have a 164M initrd when using lz4 (the default in Focal) compression. Using the same formula we previously did we end up with this: 2* (3*11 + 4*164 + 11) = 1400 So modifying the maximum size to 1536 seems reasonable, the current minimum is 512 which is actually a bit too small for an initrd with less modules e.g.: 2* (3*11 + 4*62 + 11) = 584 So the minimum should also be increased to 768. The default compression level for Jammy is currently being discussed and until that is decided we shouldn't make changes to partman-auto for Jammy.
2022-02-11 19:06:31 Brian Murray tags fr-1978 verification-needed verification-needed-focal fr-1978 verification-done verification-done-focal
2022-02-16 23:10:27 Chris Halse Rogers removed subscriber Ubuntu Stable Release Updates Team
2022-02-16 23:11:17 Launchpad Janitor partman-auto (Ubuntu Focal): status Fix Committed Fix Released
2022-02-16 23:11:27 Launchpad Janitor ubiquity (Ubuntu Focal): status Fix Committed Fix Released
2022-03-16 18:47:39 Brian Murray partman-auto (Ubuntu Jammy): milestone ubuntu-22.04-beta
2022-03-16 18:47:53 Brian Murray ubiquity (Ubuntu Jammy): status Confirmed Triaged
2022-03-16 18:47:56 Brian Murray ubiquity (Ubuntu Jammy): importance Undecided High
2022-03-21 17:29:22 Brian Murray summary increase /boot partition size [FFE] increase /boot partition size
2022-03-21 17:38:03 Brian Murray description [Impact] All new installs of 20.04. [Test case] 1) Install Ubuntu 20.04 with encryption (this'll create a separate /boot partition) on a system 2) Validate that the size of the /boot partition is greater than or equal to 768MB; should be somewhere between 768MB and 1536GB. [Regression potential]This may adversely affect installs on tiny disks, by taking up more space for the /boot partition than was previously taken, at the cost of / or /home. As such, failures to install due to insufficient space on a partition, or failure to partition a disk that was previously working should be investigated as possible regressions. This is a corner case in general since there is no requirement to allocate a separate partition for /boot in the default configuration, and if you are using a non-default configuration where /boot must be a separate partition, you probably also don't have a disk so small that an additional 256MB of disk usage is a problem. --- The kernel in Jammy is a bit larger than the one in Focal and our previous /boot partition size calculation (LP: #1716999) likely didn't take into account adding modules like nvidia to the initramfs. Subsequently, we need to revisit the size calculations for Focal. I'm utilizing cryptsetup and nvidia modules and have a 164M initrd when using lz4 (the default in Focal) compression. Using the same formula we previously did we end up with this: 2* (3*11 + 4*164 + 11) = 1400 So modifying the maximum size to 1536 seems reasonable, the current minimum is 512 which is actually a bit too small for an initrd with less modules e.g.: 2* (3*11 + 4*62 + 11) = 584 So the minimum should also be increased to 768. The default compression level for Jammy is currently being discussed and until that is decided we shouldn't make changes to partman-auto for Jammy. [FFE Discussion] Now that changes to the initramfs compression level have been settled for jammy (https://launchpadlibrarian.net/590731434/initramfs-tools_0.140ubuntu12_0.140ubuntu13.diff.gz) we need to update the size of /boot so that the additional size of the initrd is taken into account. This should be done before the Beta as more people may be installing Ubuntu then and we don't want them to have undersized /boot partitions given the problems that this can cause. Using the same install of Ubuntu with cryptsetup and nvidia modules my initrd is now 188 MB. Plugging that into our formula gets: 2* (3*11 + 4*188 +11) = 1592 While that's divisible by two, I think we should bump it a bit more to 1848. [Impact] All new installs of 20.04. [Test case] 1) Install Ubuntu 20.04 with encryption (this'll create a separate /boot partition) on a system 2) Validate that the size of the /boot partition is greater than or equal to 768MB; should be somewhere between 768MB and 1536GB. [Regression potential]This may adversely affect installs on tiny disks, by taking up more space for the /boot partition than was previously taken, at the cost of / or /home. As such, failures to install due to insufficient space on a partition, or failure to partition a disk that was previously working should be investigated as possible regressions. This is a corner case in general since there is no requirement to allocate a separate partition for /boot in the default configuration, and if you are using a non-default configuration where /boot must be a separate partition, you probably also don't have a disk so small that an additional 256MB of disk usage is a problem. --- The kernel in Jammy is a bit larger than the one in Focal and our previous /boot partition size calculation (LP: #1716999) likely didn't take into account adding modules like nvidia to the initramfs. Subsequently, we need to revisit the size calculations for Focal. I'm utilizing cryptsetup and nvidia modules and have a 164M initrd when using lz4 (the default in Focal) compression. Using the same formula we previously did we end up with this: 2* (3*11 + 4*164 + 11) = 1400 So modifying the maximum size to 1536 seems reasonable, the current minimum is 512 which is actually a bit too small for an initrd with less modules e.g.: 2* (3*11 + 4*62 + 11) = 584 So the minimum should also be increased to 768.
2022-03-21 17:38:09 Brian Murray partman-auto (Ubuntu Jammy): status Triaged New
2022-03-21 17:38:12 Brian Murray ubiquity (Ubuntu Jammy): status Triaged New
2022-03-21 17:38:20 Brian Murray bug added subscriber Ubuntu Release Team
2022-03-21 21:36:58 Dan Bungert bug task added subiquity (Ubuntu)
2022-03-21 21:44:18 Dan Bungert subiquity (Ubuntu Focal): status New Fix Released
2022-03-21 21:44:22 Dan Bungert subiquity (Ubuntu Jammy): status New Fix Committed
2022-03-22 15:43:08 Łukasz Zemczak removed subscriber Ubuntu Release Team
2022-03-22 15:43:13 Łukasz Zemczak partman-auto (Ubuntu Jammy): status New Triaged
2022-03-22 15:43:16 Łukasz Zemczak ubiquity (Ubuntu Jammy): status New Triaged
2022-03-22 18:19:11 Brian Murray ubiquity (Ubuntu Jammy): assignee Brian Murray (brian-murray)
2022-03-22 18:19:15 Brian Murray ubiquity (Ubuntu Jammy): status Triaged In Progress
2022-03-23 14:12:31 Launchpad Janitor ubiquity (Ubuntu Jammy): status In Progress Fix Released
2023-07-10 14:24:30 Dan Bungert subiquity (Ubuntu Jammy): status Fix Committed Fix Released
2023-07-10 14:24:37 Dan Bungert subiquity (Ubuntu): status Fix Committed Fix Released
2023-07-18 18:02:21 Nathan Stratton Treadway bug added subscriber Nathan Stratton Treadway
2023-09-26 23:46:26 Maciek Sakrejda bug added subscriber Maciek Sakrejda