2010-06-08 11:25:36 |
Mark Shuttleworth |
bug |
|
|
added bug |
2010-06-08 11:27:15 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/casper |
|
2010-06-18 16:06:57 |
komputes |
casper (Ubuntu): status |
New |
Confirmed |
|
2010-06-28 15:55:59 |
Colin Watson |
casper (Ubuntu): status |
Confirmed |
Triaged |
|
2010-06-28 15:56:04 |
Colin Watson |
casper (Ubuntu): importance |
Undecided |
High |
|
2010-06-28 15:58:34 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid/casper |
|
2010-06-28 16:00:15 |
Launchpad Janitor |
casper (Ubuntu): status |
Triaged |
Fix Released |
|
2010-06-28 16:06:30 |
Colin Watson |
description |
Binary package hint: casper
As discussed with Colin, fix in hand. |
When upgrading a live USB stick, we use a diverted version of update-initramfs installed by casper which arranges for /casper/vmlinuz and /casper/initrd.lz at the top level of the CD to be updated. Unfortunately this script does not quite operate correctly; it assumes that there will be vmlinuz and initrd.gz links in the root directory, when in fact they are often (although not exclusively) in /boot. It needs to try both.
DEVELOPMENT BRANCH: This has been addressed in casper 1.237 in maverick:
* Make the USB update-initramfs shim cope with vmlinuz and initrd.img
being in /boot rather than / (LP: #591207).
PATCH: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/casper/lucid/revision/813
TEST CASE: Build a live USB stick of 10.04 (no need to install it anywhere), and upgrade it to the current bits in lucid-updates (should fail) and then from scratch to lucid-proposed (should succeed). There are some other problems with this workflow so you may run into other failures; for the purposes of this bug, the important thing is that /casper/vmlinuz and /casper/initrd.img at the top level of the USB stick should be updated with copies of the new /boot/vmlinuz and /boot/initrd.img.
REGRESSION POTENTIAL: This diverted script can hardly get worse, given that it generally isn't working at all right now. |
|
2010-06-28 16:07:23 |
Colin Watson |
nominated for series |
|
Ubuntu Lucid |
|
2010-06-28 16:07:23 |
Colin Watson |
bug task added |
|
casper (Ubuntu Lucid) |
|
2010-06-28 16:07:51 |
Colin Watson |
casper (Ubuntu Lucid): status |
New |
In Progress |
|
2010-06-28 16:07:56 |
Colin Watson |
casper (Ubuntu): assignee |
|
Colin Watson (cjwatson) |
|
2010-06-28 16:07:59 |
Colin Watson |
casper (Ubuntu Lucid): importance |
Undecided |
High |
|
2010-06-28 16:08:04 |
Colin Watson |
casper (Ubuntu Lucid): assignee |
|
Colin Watson (cjwatson) |
|
2010-06-29 13:07:22 |
Jonathan Riddell |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2010-07-01 20:13:01 |
Martin Pitt |
casper (Ubuntu Lucid): status |
In Progress |
Fix Committed |
|
2010-07-01 20:13:05 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2010-07-01 20:13:10 |
Martin Pitt |
tags |
|
verification-needed |
|
2010-08-16 07:06:35 |
Martin Pitt |
tags |
verification-needed |
|
|
2010-08-16 07:07:45 |
Martin Pitt |
casper (Ubuntu Lucid): status |
Fix Committed |
Confirmed |
|
2010-08-16 10:11:53 |
Martin Pitt |
casper (Ubuntu Lucid): milestone |
|
ubuntu-10.04.2 |
|
2010-11-03 17:28:51 |
nh2 |
bug |
|
|
added subscriber nh2 |
2010-12-28 16:24:56 |
Sven Hoffmeister |
bug |
|
|
added subscriber Sven Hoffmeister |
2010-12-28 16:48:46 |
Sven Hoffmeister |
removed subscriber Sven Hoffmeister |
|
|
|
2010-12-29 19:54:21 |
Sven Hoffmeister |
bug |
|
|
added subscriber Sven Hoffmeister |
2011-01-20 12:41:39 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/casper |
|
2011-01-20 13:06:57 |
Colin Watson |
casper (Ubuntu): status |
Fix Released |
In Progress |
|
2011-01-20 14:25:13 |
Launchpad Janitor |
casper (Ubuntu): status |
In Progress |
Fix Released |
|
2011-01-20 14:35:28 |
Colin Watson |
nominated for series |
|
Ubuntu Maverick |
|
2011-01-20 14:35:28 |
Colin Watson |
bug task added |
|
casper (Ubuntu Maverick) |
|
2011-01-20 14:55:22 |
Colin Watson |
description |
When upgrading a live USB stick, we use a diverted version of update-initramfs installed by casper which arranges for /casper/vmlinuz and /casper/initrd.lz at the top level of the CD to be updated. Unfortunately this script does not quite operate correctly; it assumes that there will be vmlinuz and initrd.gz links in the root directory, when in fact they are often (although not exclusively) in /boot. It needs to try both.
DEVELOPMENT BRANCH: This has been addressed in casper 1.237 in maverick:
* Make the USB update-initramfs shim cope with vmlinuz and initrd.img
being in /boot rather than / (LP: #591207).
PATCH: http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/casper/lucid/revision/813
TEST CASE: Build a live USB stick of 10.04 (no need to install it anywhere), and upgrade it to the current bits in lucid-updates (should fail) and then from scratch to lucid-proposed (should succeed). There are some other problems with this workflow so you may run into other failures; for the purposes of this bug, the important thing is that /casper/vmlinuz and /casper/initrd.img at the top level of the USB stick should be updated with copies of the new /boot/vmlinuz and /boot/initrd.img.
REGRESSION POTENTIAL: This diverted script can hardly get worse, given that it generally isn't working at all right now. |
When upgrading a live USB stick, we use a diverted version of update-initramfs installed by casper which arranges for /casper/vmlinuz and /casper/initrd.lz at the top level of the CD to be updated. Unfortunately this script does not quite operate correctly; it assumes that there will be vmlinuz and initrd.gz links in the root directory, when in fact they are often (although not exclusively) in /boot. It needs to try both.
Stable update justification:
Impact: USB stick upgrades fail with obscure errors when upgrading the kernel. This results in very large numbers of duplicate bug reports.
Development branch: Fixed in casper 1.237/1.253/1.254 by making the writable-USB-stick update-initramfs shim handle vmlinuz and initrd.img being in /boot rather than /, making it more robust against the bits it's copying not existing for various reasons, and making it be a separate executable which can be upgraded in ways that don't involve regenerating the USB stick.
Patch:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/casper/lucid/revision/818?compare_revid=812
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/maverick/casper/maverick/revision/843?compare_revid=841
TEST CASE: Create an Ubuntu USB stick, making sure that you do *not* drag the "Stored in reserved extra space" slider all the way to the right in usb-creator (see bug 562312), and upgrade the kernel to the current version in lucid-proposed or maverick-proposed as applicable. 10.04.1 and 10.10 as released should fail. A lucid daily build dating from after this SRU is accepted should succeed (we're unlikely to do more daily builds of maverick), although this only applies if you find a daily build which contains this fixed version of casper but doesn't have the newest version of the kernel in the archive, so don't worry if you can't test this case. Also, if you start from 10.04.1 or 10.10 as released, upgrade the casper package to the current version in lucid-proposed or maverick-proposed after this SRU is accepted, and then run 'sudo update-initramfs -u', that should succeed.
Regression potential: I don't think update-initramfs will fail in any more situations due to this change. Possible sources of regression are problems upgrading the casper package, and testers should also make sure that the upgraded image actually still boots correctly into the new kernel version following this change.
Please note the similar bug 557023, which we're fixing along with this bug, and the related bug 591202 in grub2, which you may run into along the way. |
|
2011-01-20 14:55:55 |
Colin Watson |
casper (Ubuntu Maverick): status |
New |
Confirmed |
|
2011-01-20 14:55:58 |
Colin Watson |
casper (Ubuntu Maverick): importance |
Undecided |
High |
|
2011-01-20 14:56:02 |
Colin Watson |
casper (Ubuntu Maverick): assignee |
|
Colin Watson (cjwatson) |
|
2011-01-20 17:06:47 |
Martin Pitt |
casper (Ubuntu Lucid): status |
Confirmed |
Fix Committed |
|
2011-01-20 17:06:54 |
Martin Pitt |
tags |
|
verification-needed |
|
2011-01-25 09:49:35 |
Martin Pitt |
casper (Ubuntu Maverick): status |
Confirmed |
Fix Committed |
|
2011-02-01 14:05:09 |
Launchpad Janitor |
casper (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|
2011-02-01 14:08:49 |
Launchpad Janitor |
casper (Ubuntu Maverick): status |
Fix Committed |
Fix Released |
|
2011-09-01 12:39:23 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/maverick-proposed/casper |
|
2011-09-01 12:39:30 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid-updates/casper |
|
2011-09-19 21:22:56 |
Ubuntu Foundations Team Bug Bot |
tags |
verification-needed |
testcase verification-needed |
|
2011-10-22 17:56:43 |
Sven Hoffmeister |
removed subscriber Sven Hoffmeister |
|
|
|