This bug was fixed in the package zfs-linux - 0.6.5.6-0ubuntu14
zfs-linux (0.6.5.6-0ubuntu14) xenial; urgency=medium
* Fix zfs services to fail on first boot due to zfs services starting up
before /etc/mtab has a chance to be symlinked to /proc/mounts. (LP:
(upstream commit 792517389fad5c495a2738b61c2e9c65dedaaa9a)
* Symlink utilities in /usr/sbin to remove suffix as per policy 10.4 Scripts
Users can rely on the new names, but relying on the old names won't break
-- Eric Desrochers <eric.desroch...@canonical.com> Tue, 04 Oct 2016
** Changed in: zfs-linux (Ubuntu Xenial)
Status: Fix Committed => Fix Released
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
zfs services fail on firstboot if zfs-utils is integrated into the
Status in sysvinit package in Ubuntu:
Status in zfs-linux package in Ubuntu:
Status in sysvinit source package in Xenial:
Status in zfs-linux source package in Xenial:
* zfs services fail on firstboot if zfs-utils is integrated into the
* Output from systemd -
sudo systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
● zfs-import-scan.service loaded failed failed Import ZFS pools by device
● zfs-mount.service loaded failed failed Mount ZFS filesystems
* This is particularly frustrating for users who use automated
monitoring as it means virtual machines must always be restarted
before showing as clean.
* This failure is due to zfs services starting up before /etc/mtab
has a chance to be symlinked to /proc/mounts.
1. Grab a stock xenial image, and unpack it and add zfs-utils to it. Repack
2. Boot machine
3. Check systemctl --failed.
* none expected, patch has been intensively tested by the upsteam zfs
test script suite.
* This is a upstream commit merge in 0.7.0.
* A ubuntu package has been tested (including the upstream commit) by
a user of the community facing this bug, and confirmed it addresses
the problem (see comment #7).
* The "reading" is redirected to /proc/self/mounts.
The writing to /etc/mtab. Some distros still need that. The current hope is
to replace the writing (and maybe reading) with libmount, in a second phase.
* Upstream commit :
* Upstream bug: https://github.com/zfsonlinux/zfs/issues/4680
* Debian bug : https://bugs.debian.org/cgi-
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~kernel-packages
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp