Activity log for bug #1968154

Date Who What changed Old value New value Message
2022-04-07 10:31:42 Julian Andres Klode bug added bug
2022-04-07 10:32:05 Julian Andres Klode description [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now still not autoremovable [Where problems could occur] We could keep the wrong kernels installed that the user did not expect. [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now still not autoremovable [Where problems could occur] We could keep the wrong kernels installed that the user did not expect
2022-04-07 10:33:05 Julian Andres Klode description [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now still not autoremovable [Where problems could occur] We could keep the wrong kernels installed that the user did not expect [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now not autoremovable [Where problems could occur] We could keep the wrong kernels installed that the user did not expect.
2022-04-07 10:33:19 Julian Andres Klode apt (Ubuntu): status New In Progress
2022-04-07 10:33:26 Julian Andres Klode apt (Ubuntu): importance Undecided High
2022-04-07 10:33:31 Julian Andres Klode apt (Ubuntu): assignee Julian Andres Klode (juliank)
2022-04-07 10:35:09 Julian Andres Klode tags fr-2155
2022-04-07 10:35:51 Julian Andres Klode bug task added unattended-upgrades (Ubuntu)
2022-04-07 10:36:21 Julian Andres Klode description [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now not autoremovable [Where problems could occur] We could keep the wrong kernels installed that the user did not expect. [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now not autoremovable unattended-upgrades needs changes to its test suite to accommodate this. [Where problems could occur] We could keep the wrong kernels installed that the user did not expect.
2022-04-11 18:44:11 Launchpad Janitor apt (Ubuntu): status In Progress Fix Released
2022-04-19 09:25:47 Julian Andres Klode description [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now not autoremovable unattended-upgrades needs changes to its test suite to accommodate this. [Where problems could occur] We could keep the wrong kernels installed that the user did not expect. [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now not autoremovable unattended-upgrades may need changes to its test suite to accommodate this. [Where problems could occur] We could keep the wrong kernels installed that the user did not expect.
2022-04-19 09:25:58 Julian Andres Klode unattended-upgrades (Ubuntu): status New Invalid
2022-04-22 12:24:26 Julian Andres Klode nominated for series Ubuntu Bionic
2022-04-22 12:24:26 Julian Andres Klode bug task added apt (Ubuntu Bionic)
2022-04-22 12:24:26 Julian Andres Klode bug task added unattended-upgrades (Ubuntu Bionic)
2022-04-22 12:24:26 Julian Andres Klode nominated for series Ubuntu Impish
2022-04-22 12:24:26 Julian Andres Klode bug task added apt (Ubuntu Impish)
2022-04-22 12:24:26 Julian Andres Klode bug task added unattended-upgrades (Ubuntu Impish)
2022-04-22 12:24:26 Julian Andres Klode nominated for series Ubuntu Focal
2022-04-22 12:24:26 Julian Andres Klode bug task added apt (Ubuntu Focal)
2022-04-22 12:24:26 Julian Andres Klode bug task added unattended-upgrades (Ubuntu Focal)
2022-04-22 12:24:48 Julian Andres Klode apt (Ubuntu Impish): status New In Progress
2022-04-25 14:09:58 Julian Andres Klode description [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now not autoremovable unattended-upgrades may need changes to its test suite to accommodate this. [Where problems could occur] We could keep the wrong kernels installed that the user did not expect. [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now not autoremovable unattended-upgrades may need changes to its test suite to accommodate this. [Where problems could occur] We could keep the wrong kernels installed that the user did not expect. We remove the requirement to keep the most recently installed version, previously recorded in APT::LastInstalledKernel, to achieve this, as we had 3 hard requirements so far: 1. keep booted kernel 2. keep highest version 3. keep most recently installed 1 can't be removed as it would break running systems, 2 is what you definitely want to keep. During normal system lifetime, the most recently installed kernel is the same as the highest version, so 2==3, and there are no changes to behavior. Likewise, if you most recently installed an older kernel manually for debugging, it would be manually installed and not subject to removal, even if the rule is dropped. The behavior really only changes if you install an older kernel, and then mark it auto - that older kernel becomes automatically removable immediately after it is marked as auto.
2022-05-06 08:19:37 Timo Aaltonen apt (Ubuntu Impish): status In Progress Fix Committed
2022-05-06 08:19:39 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2022-05-06 08:19:41 Timo Aaltonen bug added subscriber SRU Verification
2022-05-06 08:19:43 Timo Aaltonen tags fr-2155 fr-2155 verification-needed verification-needed-impish
2022-05-06 08:23:12 Timo Aaltonen apt (Ubuntu Focal): status New Fix Committed
2022-05-06 08:23:17 Timo Aaltonen tags fr-2155 verification-needed verification-needed-impish fr-2155 verification-needed verification-needed-focal verification-needed-impish
2022-05-06 08:27:40 Timo Aaltonen apt (Ubuntu Bionic): status New Fix Committed
2022-05-06 08:27:45 Timo Aaltonen tags fr-2155 verification-needed verification-needed-focal verification-needed-impish fr-2155 verification-needed verification-needed-bionic verification-needed-focal verification-needed-impish
2022-05-11 10:05:52 Julian Andres Klode bug task deleted unattended-upgrades (Ubuntu Impish)
2022-05-11 10:05:55 Julian Andres Klode bug task deleted unattended-upgrades (Ubuntu Focal)
2022-05-11 10:05:57 Julian Andres Klode bug task deleted unattended-upgrades (Ubuntu Bionic)
2022-05-11 10:06:00 Julian Andres Klode bug task deleted unattended-upgrades (Ubuntu)
2022-05-11 10:06:12 Julian Andres Klode description [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now not autoremovable unattended-upgrades may need changes to its test suite to accommodate this. [Where problems could occur] We could keep the wrong kernels installed that the user did not expect. We remove the requirement to keep the most recently installed version, previously recorded in APT::LastInstalledKernel, to achieve this, as we had 3 hard requirements so far: 1. keep booted kernel 2. keep highest version 3. keep most recently installed 1 can't be removed as it would break running systems, 2 is what you definitely want to keep. During normal system lifetime, the most recently installed kernel is the same as the highest version, so 2==3, and there are no changes to behavior. Likewise, if you most recently installed an older kernel manually for debugging, it would be manually installed and not subject to removal, even if the rule is dropped. The behavior really only changes if you install an older kernel, and then mark it auto - that older kernel becomes automatically removable immediately after it is marked as auto. [Impact] APT currently keeps 3 kernels or even 4 in some releases. Our boot partition is sized for a steady state of 2 kernels + 1 new one being unpacked, hence users run out of space and new kernels fail to install, upgrade runs might abort in the middle. It's not nice. [Test plan] 1. Have two kernels installed (let's call them version 3, 2) 2. Check that both kernels are not autoremovable 3. Install an old kernel (let's call it 1), and mark it automatic 4. Check that 1 will be autoremovable (apt autoremove -s) 5. Reboot into 1, check that 2 is autoremovable (apt autoremove -s) 6. Actually remove 2 7. Reboot into 3 and check that both 1 and 3 are now not autoremovable [Where problems could occur] We could keep the wrong kernels installed that the user did not expect. We remove the requirement to keep the most recently installed version, previously recorded in APT::LastInstalledKernel, to achieve this, as we had 3 hard requirements so far: 1. keep booted kernel 2. keep highest version 3. keep most recently installed 1 can't be removed as it would break running systems, 2 is what you definitely want to keep. During normal system lifetime, the most recently installed kernel is the same as the highest version, so 2==3, and there are no changes to behavior. Likewise, if you most recently installed an older kernel manually for debugging, it would be manually installed and not subject to removal, even if the rule is dropped. The behavior really only changes if you install an older kernel, and then mark it auto - that older kernel becomes automatically removable immediately after it is marked as auto.
2022-05-11 10:26:26 Julian Andres Klode tags fr-2155 verification-needed verification-needed-bionic verification-needed-focal verification-needed-impish fr-2155 verification-done-impish verification-needed verification-needed-bionic verification-needed-focal
2022-05-14 15:41:01 Jarno Suni bug added subscriber Jarno Suni
2022-05-14 16:15:23 Jarno Suni tags fr-2155 verification-done-impish verification-needed verification-needed-bionic verification-needed-focal fr-2155 verification-done-focal verification-done-impish verification-needed verification-needed-bionic
2022-05-17 09:01:59 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2022-05-17 09:01:57 Launchpad Janitor apt (Ubuntu Impish): status Fix Committed Fix Released
2022-05-17 09:03:34 Launchpad Janitor apt (Ubuntu Focal): status Fix Committed Fix Released
2022-08-08 08:51:42 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2023-04-04 13:48:51 Julian Andres Klode tags fr-2155 verification-done-focal verification-done-impish verification-needed verification-needed-bionic fr-2155 verification-done verification-done-bionic verification-done-focal verification-done-impish
2023-04-12 06:58:38 Launchpad Janitor apt (Ubuntu Bionic): status Fix Committed Fix Released