Ubuntu 16.04 breaks boot with wrong zpool.cache
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| zfs-linux (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bug Description
Having just upgraded Ubuntu 16.04, and seeing systemd updates, I rebooted the machine, but it failed to start, entering emergency mode. Relevant piece of info was this:
* Failed to start Import ZFS pools by cache file.
* Started Mount ZFS filesystems
** A start job is running for dev-disk....
and then it enters emergency mode.
Now, the only ZFS pool I have is a backup USB HDD which is constantly attached, and the pool is on a LUKS provider, meaning you won't see it until the provider is unlocked.
My guess is that the latest update, having triggered initramfs rebuild, wrote the zpool.cache file with that state, and it shouldn't have.
This is totally wrong, as zpool cache should not be built like this as it PREVENTS you from having external pools that might not be available on boot. I also have no idea why it happened now because I've been having this setup (external backup zfs pool on a LUKS provider) since 16.04 came out and never had a problem until now.
Removing the /etc/zfs/
# lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
| tags: | added: regression-update |
| affects: | ubuntu → systemd (Ubuntu) |
| affects: | systemd (Ubuntu) → zfs-linux (Ubuntu) |
| Changed in zfs-linux (Ubuntu): | |
| status: | Incomplete → Fix Released |

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1624844/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]