2017-09-13 03:51:59 |
Steve Langasek |
bug |
|
|
added bug |
2017-09-13 03:52:09 |
Steve Langasek |
mdadm (Ubuntu): status |
New |
Fix Released |
|
2017-09-13 03:52:14 |
Steve Langasek |
nominated for series |
|
Ubuntu Xenial |
|
2017-09-13 03:52:14 |
Steve Langasek |
bug task added |
|
mdadm (Ubuntu Xenial) |
|
2017-09-13 03:52:31 |
Steve Langasek |
mdadm (Ubuntu Xenial): status |
New |
In Progress |
|
2017-09-13 03:52:32 |
Steve Langasek |
mdadm (Ubuntu Xenial): assignee |
|
Steve Langasek (vorlon) |
|
2017-09-13 03:52:56 |
Steve Langasek |
description |
[SRU Justification]
In xenial and earlier, mdadm declares a versioned dependency on initramfs-tools. This was an Ubunut-specific dependency only needed for upgrades, and the version referenced is ancient (ca. 2008). In zesty and later, the dependency has been removed.
Since this is no longer relevant for upgrades and we would not otherwise have a dependency on initramfs-tools, we should drop this dependency to support building of images with initramfs-tools removed for systems that we know don't require an initramfs.
[Test case]
1. On a xenial default cloud image install, try to run 'sudo apt purge initramfs-tools'.
2. Verify that this tries to remove mdadm.
3. Cancel the removal.
4. Install mdadm from xenial-proposed.
5. Run 'sudo apt purge initramfs-tools' again.
6. Verify that mdadm is not removed.
[Regression Potential]
If a user needs an initramfs in order to mount their root device (whether or not it's on RAID), and mdadm is the only package on their system which depends on initramfs-tools, it is possible that the user may remove initramfs-tools and render their system unbootable.
This is unlikely because initramfs-tools is still part of the 'minimal' seed and is therefore a dependency of ubuntu-minimal; and it remains a dependency of the generic kernel image.
So long as initramfs-tools is installed, mdadm's initramfs hooks will continue to function as intended when required. |
[SRU Justification]
In xenial and earlier, mdadm declares a versioned dependency on initramfs-tools. This was an Ubuntu-specific dependency only needed for upgrades, and the version referenced is ancient (ca. 2008). In zesty and later, the dependency has been removed.
Since this is no longer relevant for upgrades and we would not otherwise have a dependency on initramfs-tools, we should drop this dependency to support building of images with initramfs-tools removed for systems that we know don't require an initramfs.
[Test case]
1. On a xenial default cloud image install, try to run 'sudo apt purge initramfs-tools'.
2. Verify that this tries to remove mdadm.
3. Cancel the removal.
4. Install mdadm from xenial-proposed.
5. Run 'sudo apt purge initramfs-tools' again.
6. Verify that mdadm is not removed.
[Regression Potential]
If a user needs an initramfs in order to mount their root device (whether or not it's on RAID), and mdadm is the only package on their system which depends on initramfs-tools, it is possible that the user may remove initramfs-tools and render their system unbootable.
This is unlikely because initramfs-tools is still part of the 'minimal' seed and is therefore a dependency of ubuntu-minimal; and it remains a dependency of the generic kernel image.
So long as initramfs-tools is installed, mdadm's initramfs hooks will continue to function as intended when required. |
|
2017-09-13 05:01:34 |
Steve Langasek |
description |
[SRU Justification]
In xenial and earlier, mdadm declares a versioned dependency on initramfs-tools. This was an Ubuntu-specific dependency only needed for upgrades, and the version referenced is ancient (ca. 2008). In zesty and later, the dependency has been removed.
Since this is no longer relevant for upgrades and we would not otherwise have a dependency on initramfs-tools, we should drop this dependency to support building of images with initramfs-tools removed for systems that we know don't require an initramfs.
[Test case]
1. On a xenial default cloud image install, try to run 'sudo apt purge initramfs-tools'.
2. Verify that this tries to remove mdadm.
3. Cancel the removal.
4. Install mdadm from xenial-proposed.
5. Run 'sudo apt purge initramfs-tools' again.
6. Verify that mdadm is not removed.
[Regression Potential]
If a user needs an initramfs in order to mount their root device (whether or not it's on RAID), and mdadm is the only package on their system which depends on initramfs-tools, it is possible that the user may remove initramfs-tools and render their system unbootable.
This is unlikely because initramfs-tools is still part of the 'minimal' seed and is therefore a dependency of ubuntu-minimal; and it remains a dependency of the generic kernel image.
So long as initramfs-tools is installed, mdadm's initramfs hooks will continue to function as intended when required. |
[SRU Justification]
In xenial and earlier, mdadm declares a versioned dependency on initramfs-tools. This was an Ubuntu-specific dependency only needed for upgrades, and the version referenced is ancient (ca. 2008). In zesty and later, the dependency has been removed.
Since this is no longer relevant for upgrades and we would not otherwise have a dependency on initramfs-tools, we should drop this dependency to support building of images with initramfs-tools removed for systems that we know don't require an initramfs.
[Test case]
1. On a xenial default cloud image install, try to run 'sudo apt purge initramfs-tools'.
2. Verify that this tries to remove mdadm.
3. Cancel the removal.
4. Install mdadm from xenial-proposed.
5. Run 'sudo apt purge initramfs-tools' again.
6. Verify that mdadm is not removed.
7. Run 'sudo apt install --reinstall mdadm' and confirm that the package can be installed successfully without initramfs-tools installed.
[Regression Potential]
If a user needs an initramfs in order to mount their root device (whether or not it's on RAID), and mdadm is the only package on their system which depends on initramfs-tools, it is possible that the user may remove initramfs-tools and render their system unbootable.
This is unlikely because initramfs-tools is still part of the 'minimal' seed and is therefore a dependency of ubuntu-minimal; and it remains a dependency of the generic kernel image.
So long as initramfs-tools is installed, mdadm's initramfs hooks will continue to function as intended when required. |
|
2017-09-14 18:29:16 |
Brian Murray |
mdadm (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2017-09-14 21:13:39 |
Steve Langasek |
tags |
|
verification-failed-xenial |
|
2017-09-14 21:38:04 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-09-14 21:38:07 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2017-09-14 21:38:12 |
Brian Murray |
tags |
verification-failed-xenial |
verification-needed verification-needed-xenial |
|
2017-09-14 23:49:33 |
Steve Langasek |
tags |
verification-needed verification-needed-xenial |
verification-done-xenial |
|
2017-09-28 16:51:21 |
Launchpad Janitor |
mdadm (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-09-28 16:51:25 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|