2015-08-17 20:18:38 |
Andy Whitcroft |
bug |
|
|
added bug |
2015-08-17 20:18:44 |
Andy Whitcroft |
initramfs-tools (Ubuntu): status |
New |
In Progress |
|
2015-08-17 20:18:46 |
Andy Whitcroft |
initramfs-tools (Ubuntu): importance |
Undecided |
Medium |
|
2015-08-17 20:18:48 |
Andy Whitcroft |
initramfs-tools (Ubuntu): assignee |
|
Andy Whitcroft (apw) |
|
2015-08-17 20:18:50 |
Andy Whitcroft |
initramfs-tools (Ubuntu): milestone |
|
ubuntu-15.08 |
|
2015-08-18 22:37:39 |
Launchpad Janitor |
initramfs-tools (Ubuntu): status |
In Progress |
Fix Released |
|
2016-09-01 20:45:36 |
Launchpad Janitor |
branch linked |
|
lp:cloud-initramfs-tools |
|
2016-11-29 01:39:13 |
Scott Moser |
bug task added |
|
cloud-initramfs-tools (Ubuntu) |
|
2016-11-29 01:39:29 |
Scott Moser |
cloud-initramfs-tools (Ubuntu): status |
New |
Fix Released |
|
2016-11-29 01:39:32 |
Scott Moser |
cloud-initramfs-tools (Ubuntu): importance |
Undecided |
Medium |
|
2016-11-29 01:39:41 |
Scott Moser |
nominated for series |
|
Ubuntu Xenial |
|
2016-11-29 01:39:41 |
Scott Moser |
bug task added |
|
initramfs-tools (Ubuntu Xenial) |
|
2016-11-29 01:39:41 |
Scott Moser |
bug task added |
|
cloud-initramfs-tools (Ubuntu Xenial) |
|
2016-11-29 01:39:49 |
Scott Moser |
cloud-initramfs-tools (Ubuntu Xenial): importance |
Undecided |
Medium |
|
2016-11-29 01:39:53 |
Scott Moser |
cloud-initramfs-tools (Ubuntu Xenial): status |
New |
In Progress |
|
2016-11-29 01:39:56 |
Scott Moser |
cloud-initramfs-tools (Ubuntu Xenial): assignee |
|
Scott Moser (smoser) |
|
2016-11-29 01:42:27 |
Scott Moser |
bug task deleted |
initramfs-tools (Ubuntu Xenial) |
|
|
2016-11-29 22:17:39 |
Scott Moser |
description |
Drop: Maintain compatibility with pre- /run configurations -- this was for compatibility with oneiric which is now long gone. |
=== Begin SRU Template ===
[Impact]
overlayfs writes some log information to the tmpfs that was intended
to be then viewable after the pivot_root to the real root.
The path used was /dev/.initramfs. Due to changes in initramfs-tools
under this bug, that path was no longer supported. And the logging
was busted.
There was no functional problem with this except in the crypt use
case as described in bug 1634310.
[Test Case]
1.) Start an instance of a cloud image.
2.) Enable proposed and install overlayroot to show fix.
$ rel=$(lsb_release -sc)
$ echo "deb http://archive.ubuntu.com/ubuntu $rel-proposed main" |
$ sudo tee /etc/apt/sources.list.d/proposed.list
$ sudo apt update -qy && sudo apt install -qy overlayroot </dev/null
$ dpkg-query --show overlayroot
overlayroot 0.27ubuntu1.3
3.) Enable overlayroot and reboot
$ echo "overlayroot=tmpfs,debug=1" | sudo tee /etc/overlayroot.local.conf
$ sudo reboot
4.) log back in and look around.
a.) check that 'overlayroot' is in /proc/mounts
$ awk '$1 == "overlayroot" { print $0 }' /proc/mounts
overlayroot / overlay rw,relatime,lowerdir=/media/root-ro,upperdir=/media/root-rw/overlay,workdir=/media/root-rw/overlay-workdir/_ 0 0
b.) check /run/initramfs/overlayroot.log exists.
[Regression Potential]
A regression here is somewhat unlikely. Most likely would be inadvertant failure.
As you can see in the fix, the code looks for a dir /run/initramfs /dev/.initramfs
and picks the first one that exists. If neither existed for some reason,
then debug would remain busted.
[Other Info]
The full overlayroot/init-bottom/overlayroot can be seen at [1]. The
specific change that fixed the issue is in revision 112 at [2].
[1] http://bazaar.launchpad.net/~cloud-initramfs-tools/cloud-initramfs-tools/trunk/view/head:/overlayroot/scripts/init-bottom/overlayroot
[2] http://bazaar.launchpad.net/~cloud-initramfs-tools/cloud-initramfs-tools/trunk/revision/112
=== End SRU Template ===
Drop: Maintain compatibility with pre- /run configurations -- this was for compatibility with oneiric which is now long gone. |
|
2016-11-29 23:12:14 |
Chris Halse Rogers |
cloud-initramfs-tools (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2016-11-29 23:12:16 |
Chris Halse Rogers |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-11-29 23:12:23 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2016-11-29 23:12:29 |
Chris Halse Rogers |
tags |
|
verification-needed |
|
2016-11-30 15:38:51 |
Scott Moser |
description |
=== Begin SRU Template ===
[Impact]
overlayfs writes some log information to the tmpfs that was intended
to be then viewable after the pivot_root to the real root.
The path used was /dev/.initramfs. Due to changes in initramfs-tools
under this bug, that path was no longer supported. And the logging
was busted.
There was no functional problem with this except in the crypt use
case as described in bug 1634310.
[Test Case]
1.) Start an instance of a cloud image.
2.) Enable proposed and install overlayroot to show fix.
$ rel=$(lsb_release -sc)
$ echo "deb http://archive.ubuntu.com/ubuntu $rel-proposed main" |
$ sudo tee /etc/apt/sources.list.d/proposed.list
$ sudo apt update -qy && sudo apt install -qy overlayroot </dev/null
$ dpkg-query --show overlayroot
overlayroot 0.27ubuntu1.3
3.) Enable overlayroot and reboot
$ echo "overlayroot=tmpfs,debug=1" | sudo tee /etc/overlayroot.local.conf
$ sudo reboot
4.) log back in and look around.
a.) check that 'overlayroot' is in /proc/mounts
$ awk '$1 == "overlayroot" { print $0 }' /proc/mounts
overlayroot / overlay rw,relatime,lowerdir=/media/root-ro,upperdir=/media/root-rw/overlay,workdir=/media/root-rw/overlay-workdir/_ 0 0
b.) check /run/initramfs/overlayroot.log exists.
[Regression Potential]
A regression here is somewhat unlikely. Most likely would be inadvertant failure.
As you can see in the fix, the code looks for a dir /run/initramfs /dev/.initramfs
and picks the first one that exists. If neither existed for some reason,
then debug would remain busted.
[Other Info]
The full overlayroot/init-bottom/overlayroot can be seen at [1]. The
specific change that fixed the issue is in revision 112 at [2].
[1] http://bazaar.launchpad.net/~cloud-initramfs-tools/cloud-initramfs-tools/trunk/view/head:/overlayroot/scripts/init-bottom/overlayroot
[2] http://bazaar.launchpad.net/~cloud-initramfs-tools/cloud-initramfs-tools/trunk/revision/112
=== End SRU Template ===
Drop: Maintain compatibility with pre- /run configurations -- this was for compatibility with oneiric which is now long gone. |
=== Begin SRU Template ===
[Impact]
overlayfs writes some log information to the tmpfs that was intended
to be then viewable after the pivot_root to the real root.
The path used was /dev/.initramfs. Due to changes in initramfs-tools
under this bug, that path was no longer supported. And the logging
was busted.
There was no functional problem with this except in the crypt use
case as described in bug 1634310.
[Test Case]
1.) Start an instance of a cloud image.
2.) Enable proposed and install overlayroot to show fix.
$ rel=$(lsb_release -sc)
$ echo "deb http://archive.ubuntu.com/ubuntu $rel-proposed main" |
$ sudo tee /etc/apt/sources.list.d/proposed.list
$ sudo apt update -qy && sudo apt install -qy overlayroot </dev/null
$ dpkg-query --show overlayroot
overlayroot 0.27ubuntu1.3
3.) Enable overlayroot and reboot
$ echo "overlayroot=tmpfs:debug=1" | sudo tee /etc/overlayroot.local.conf
$ sudo reboot
4.) log back in and look around.
a.) check that 'overlayroot' is in /proc/mounts
$ awk '$1 == "overlayroot" { print $0 }' /proc/mounts
overlayroot / overlay rw,relatime,lowerdir=/media/root-ro,upperdir=/media/root-rw/overlay,workdir=/media/root-rw/overlay-workdir/_ 0 0
b.) check /run/initramfs/overlayroot.log exists.
[Regression Potential]
A regression here is somewhat unlikely. Most likely would be inadvertant failure.
As you can see in the fix, the code looks for a dir /run/initramfs /dev/.initramfs
and picks the first one that exists. If neither existed for some reason,
then debug would remain busted.
[Other Info]
The full overlayroot/init-bottom/overlayroot can be seen at [1]. The
specific change that fixed the issue is in revision 112 at [2].
[1] http://bazaar.launchpad.net/~cloud-initramfs-tools/cloud-initramfs-tools/trunk/view/head:/overlayroot/scripts/init-bottom/overlayroot
[2] http://bazaar.launchpad.net/~cloud-initramfs-tools/cloud-initramfs-tools/trunk/revision/112
=== End SRU Template ===
Drop: Maintain compatibility with pre- /run configurations -- this was for compatibility with oneiric which is now long gone. |
|
2016-11-30 15:39:53 |
Scott Moser |
tags |
verification-needed |
verification-done |
|
2016-12-19 16:28:07 |
Launchpad Janitor |
cloud-initramfs-tools (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2016-12-19 16:28:22 |
Robie Basak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|