2012-10-02 19:00:35 |
Serge Hallyn |
bug |
|
|
added bug |
2012-10-02 19:01:46 |
Serge Hallyn |
attachment added |
|
grub2-lxc.debdiff https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1060404/+attachment/3366030/+files/grub2-lxc.debdiff |
|
2012-10-02 19:02:00 |
Serge Hallyn |
nominated for series |
|
Ubuntu Precise |
|
2012-10-02 19:02:00 |
Serge Hallyn |
nominated for series |
|
Ubuntu Quantal |
|
2012-10-02 19:02:11 |
Serge Hallyn |
grub2 (Ubuntu): status |
New |
Confirmed |
|
2012-10-02 19:03:20 |
Serge Hallyn |
grub2 (Ubuntu): importance |
Undecided |
High |
|
2012-10-02 20:21:37 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2012-10-04 14:43:44 |
Serge Hallyn |
bug task added |
|
lxc (Ubuntu) |
|
2012-10-04 14:44:14 |
Serge Hallyn |
lxc (Ubuntu): importance |
Undecided |
High |
|
2012-10-04 14:44:14 |
Serge Hallyn |
lxc (Ubuntu): status |
New |
Confirmed |
|
2012-10-04 14:52:44 |
Serge Hallyn |
bug task added |
|
upstart (Ubuntu) |
|
2012-10-04 17:11:27 |
Serge Hallyn |
upstart (Ubuntu): status |
New |
Invalid |
|
2012-10-04 21:10:17 |
Launchpad Janitor |
lxc (Ubuntu): status |
Confirmed |
Fix Released |
|
2012-10-05 07:24:33 |
Colin Watson |
grub2 (Ubuntu): status |
Confirmed |
Fix Committed |
|
2012-10-05 07:24:36 |
Colin Watson |
grub2 (Ubuntu): assignee |
|
Colin Watson (cjwatson) |
|
2012-10-05 07:24:47 |
Colin Watson |
bug task added |
|
grub2 (Ubuntu Quantal) |
|
2012-10-05 07:24:47 |
Colin Watson |
bug task added |
|
upstart (Ubuntu Quantal) |
|
2012-10-05 07:24:47 |
Colin Watson |
bug task added |
|
lxc (Ubuntu Quantal) |
|
2012-10-05 22:32:51 |
Clint Byrum |
bug task added |
|
grub2 (Ubuntu Precise) |
|
2012-10-05 22:32:51 |
Clint Byrum |
bug task added |
|
upstart (Ubuntu Precise) |
|
2012-10-05 22:32:51 |
Clint Byrum |
bug task added |
|
lxc (Ubuntu Precise) |
|
2012-10-05 22:33:04 |
Clint Byrum |
lxc (Ubuntu Precise): status |
New |
Triaged |
|
2012-10-05 22:33:08 |
Clint Byrum |
lxc (Ubuntu Precise): importance |
Undecided |
High |
|
2012-10-05 22:33:18 |
Clint Byrum |
lxc (Ubuntu Precise): assignee |
|
Serge Hallyn (serge-hallyn) |
|
2012-10-05 22:55:51 |
Serge Hallyn |
description |
If grub is installed in a container (as happens, for instance, with the ubuntu-cloud template) then an update of grub or linux-image will cause update-grub to be run. It tries, finds it can't access the root device, fails, and causes the update to fail.
It would be better for update-grub to detect that it is in a container and simply exit 0, so that the apt-get can succeed. I'm attaching a debdiff which does that. |
==============================
SRU justification for lxc part:
1. Impact: update-grub fails, causing apt-get updates to fail if there is a new kernel.
2. Development fix: modify ubuntu templates to mount devtmpfs before starting container
3. Stable fix: same as development fix.
4. Test case:
sudo lxc-create -t ubuntu-cloud -n q1
sudo lxc-start q1
# inside the container, run sudo update-grub
5. Regression potential: This adds one more mount per container (by default, removable), taking up more memory.
==============================
If grub is installed in a container (as happens, for instance, with the ubuntu-cloud template) then an update of grub or linux-image will cause update-grub to be run. It tries, finds it can't access the root device, fails, and causes the update to fail.
It would be better for update-grub to detect that it is in a container and simply exit 0, so that the apt-get can succeed. I'm attaching a debdiff which does that. |
|
2012-10-05 22:56:08 |
Serge Hallyn |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2012-10-07 09:03:36 |
Launchpad Janitor |
branch linked |
|
lp:~cjwatson/ubuntu/quantal/grub2/2.00 |
|
2012-10-07 18:47:13 |
Launchpad Janitor |
grub2 (Ubuntu Quantal): status |
Fix Committed |
Fix Released |
|
2012-10-07 19:14:07 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/grub2 |
|
2012-10-15 15:18:10 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lxc |
|
2012-10-15 20:12:43 |
Launchpad Janitor |
grub2 (Ubuntu Precise): status |
New |
Confirmed |
|
2012-10-15 20:12:43 |
Launchpad Janitor |
upstart (Ubuntu Precise): status |
New |
Confirmed |
|
2013-01-07 20:24:09 |
Andreas Hasenack |
bug |
|
|
added subscriber Andreas Hasenack |
2013-01-08 14:29:27 |
Serge Hallyn |
description |
==============================
SRU justification for lxc part:
1. Impact: update-grub fails, causing apt-get updates to fail if there is a new kernel.
2. Development fix: modify ubuntu templates to mount devtmpfs before starting container
3. Stable fix: same as development fix.
4. Test case:
sudo lxc-create -t ubuntu-cloud -n q1
sudo lxc-start q1
# inside the container, run sudo update-grub
5. Regression potential: This adds one more mount per container (by default, removable), taking up more memory.
==============================
If grub is installed in a container (as happens, for instance, with the ubuntu-cloud template) then an update of grub or linux-image will cause update-grub to be run. It tries, finds it can't access the root device, fails, and causes the update to fail.
It would be better for update-grub to detect that it is in a container and simply exit 0, so that the apt-get can succeed. I'm attaching a debdiff which does that. |
[XXX edit - removed the SRU justification for lxc part. The proposed solution
was not safe, and was undone in a later commit. devtmpfs cannot be mounted
in a container, because changes under the container's /dev are then
reflected in the host's /dev.
If grub is installed in a container (as happens, for instance, with the ubuntu-cloud template) then an update of grub or linux-image will cause update-grub to be run. It tries, finds it can't access the root device, fails, and causes the update to fail.
It would be better for update-grub to detect that it is in a container and simply exit 0, so that the apt-get can succeed. I'm attaching a debdiff which does that. |
|
2013-01-08 15:14:30 |
Serge Hallyn |
grub2 (Ubuntu Precise): importance |
Undecided |
High |
|
2013-01-08 15:14:50 |
Serge Hallyn |
bug task deleted |
upstart (Ubuntu) |
|
|
2013-01-08 15:15:13 |
Serge Hallyn |
bug task deleted |
upstart (Ubuntu Precise) |
|
|
2013-01-08 15:15:20 |
Serge Hallyn |
bug task deleted |
upstart (Ubuntu Quantal) |
|
|
2013-01-08 17:08:00 |
Colin Watson |
description |
[XXX edit - removed the SRU justification for lxc part. The proposed solution
was not safe, and was undone in a later commit. devtmpfs cannot be mounted
in a container, because changes under the container's /dev are then
reflected in the host's /dev.
If grub is installed in a container (as happens, for instance, with the ubuntu-cloud template) then an update of grub or linux-image will cause update-grub to be run. It tries, finds it can't access the root device, fails, and causes the update to fail.
It would be better for update-grub to detect that it is in a container and simply exit 0, so that the apt-get can succeed. I'm attaching a debdiff which does that. |
[Impact] GRUB upgrades fail in containers.
[Test Case] Upgrade the grub-pc package in a container.
[Regression Potential] In itself, this postinst fix should be quite safe. It's possible it won't solve the whole problem - e.g. linux-image-* upgrades calling update-grub - but I wanted to backport just what was in quantal/raring rather than getting creative in an SRU.
[XXX edit - removed the SRU justification for lxc part. The proposed solution
was not safe, and was undone in a later commit. devtmpfs cannot be mounted
in a container, because changes under the container's /dev are then
reflected in the host's /dev.
If grub is installed in a container (as happens, for instance, with the ubuntu-cloud template) then an update of grub or linux-image will cause update-grub to be run. It tries, finds it can't access the root device, fails, and causes the update to fail.
It would be better for update-grub to detect that it is in a container and simply exit 0, so that the apt-get can succeed. I'm attaching a debdiff which does that. |
|
2013-01-08 17:08:03 |
Colin Watson |
grub2 (Ubuntu Precise): status |
Confirmed |
In Progress |
|
2013-01-08 17:08:06 |
Colin Watson |
grub2 (Ubuntu Precise): assignee |
|
Colin Watson (cjwatson) |
|
2013-01-08 17:08:22 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-core-dev/ubuntu/precise/grub2/precise |
|
2013-01-09 17:43:31 |
Henning Eggers |
bug |
|
|
added subscriber Henning Eggers |
2013-01-10 20:03:16 |
Chris Van Hoof |
bug |
|
|
added subscriber Chris Van Hoof |
2013-01-17 00:00:33 |
Clint Byrum |
grub2 (Ubuntu Precise): status |
In Progress |
Fix Committed |
|
2013-01-17 00:00:38 |
Clint Byrum |
bug |
|
|
added subscriber SRU Verification |
2013-01-17 00:00:41 |
Clint Byrum |
tags |
patch |
patch verification-needed |
|
2013-01-17 00:14:44 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-proposed/grub2 |
|
2013-01-17 15:33:35 |
Serge Hallyn |
tags |
patch verification-needed |
patch verification-done |
|
2013-01-21 16:43:27 |
Launchpad Janitor |
branch linked |
|
lp:debian/experimental/grub2 |
|
2013-01-21 18:40:06 |
Khris Richardson |
bug |
|
|
added subscriber Khris Richardson |
2013-01-22 19:03:15 |
Adam Conrad |
tags |
patch verification-done |
patch |
|
2013-01-22 19:03:18 |
Adam Conrad |
tags |
patch |
patch verification-needed |
|
2013-01-23 10:03:39 |
Colin Watson |
tags |
patch verification-needed |
patch verification-done |
|
2013-01-25 14:30:33 |
Justin van Heerde |
bug |
|
|
added subscriber Justin van Heerde |
2013-02-05 16:34:40 |
Colin Watson |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2013-02-05 16:35:14 |
Launchpad Janitor |
grub2 (Ubuntu Precise): status |
Fix Committed |
Fix Released |
|
2013-02-05 17:15:12 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/precise-updates/grub2 |
|
2013-02-06 18:32:34 |
Stéphane Graber |
lxc (Ubuntu Precise): status |
Triaged |
Invalid |
|
2014-02-13 07:21:58 |
Martin Pitt |
bug |
|
|
added subscriber Martin Pitt |
2014-02-13 08:09:39 |
Martin Pitt |
bug task added |
|
auto-upgrade-testing |
|
2014-02-13 08:09:45 |
Martin Pitt |
auto-upgrade-testing: status |
New |
In Progress |
|
2014-02-13 08:09:48 |
Martin Pitt |
auto-upgrade-testing: assignee |
|
Martin Pitt (pitti) |
|
2014-02-13 09:19:54 |
Launchpad Janitor |
branch linked |
|
lp:auto-upgrade-testing |
|
2014-02-13 09:56:00 |
Martin Pitt |
auto-upgrade-testing: status |
In Progress |
Fix Released |
|