drop oneiric /run compatibility link
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Scott Moser | ||
initramfs-tools (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft |
Bug 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://
$ sudo tee /etc/apt/
$ 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=
$ 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,
b.) check /run/initramfs/
[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/
specific change that fixed the issue is in revision 112 at [2].
[1] http://
[2] http://
=== End SRU Template ===
Drop: Maintain compatibility with pre- /run configurations -- this was for compatibility with oneiric which is now long gone.
Related branches
Changed in initramfs-tools (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Andy Whitcroft (apw) |
milestone: | none → ubuntu-15.08 |
Changed in cloud-initramfs-tools (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Changed in cloud-initramfs-tools (Ubuntu Xenial): | |
importance: | Undecided → Medium |
status: | New → In Progress |
assignee: | nobody → Scott Moser (smoser) |
no longer affects: | initramfs-tools (Ubuntu Xenial) |
description: | updated |
This bug was fixed in the package initramfs-tools - 0.120ubuntu3
---------------
initramfs-tools (0.120ubuntu3) wily; urgency=medium
* hook-functions: fix PowerPC NX Crypto Coprocessor support (LP:
#1454687)
* Drop: Maintain compatibility with pre- /run configurations (LP:
#1485752)
* Drop: Ignore errors from iscan and iscan-data hooks (LP: #1485562)
-- Andy Whitcroft <email address hidden> Tue, 18 Aug 2015 12:15:28 +0100