[Pkg-zfsonlinux-devel] Bug#966565: [zfsutils-linux] zfs-mount-generator broken by git_fix_dependency_loop_encryption1.patch

Antonio Russo antonio.e.russo at gmail.com
Thu Jul 30 19:58:47 BST 2020


Package: zfsutils-linux
Version: 0.8.4-2
Severity: important
X-Debbugs-CC: rlaager at wiktel.com
Tags: patch

The addition of the command

pools=$(zpool list -H -o name)

to /lib/systemd/system-generators/zfs-mount-generator means that zpool must
succeed at very early in the boot. This may not be the case on many systems.
Indeed, great effort is taken in zfs-mount-generator infrastructure to avoid
any dependency on zpool and zfs.

Changing this line to

pools=$(zpool list -H -o name | true)

allows the command to fail, and fall-back to the original behavior if zpool
is unavailable or the command is unable to get a list of pools.

This can easily break a users boot, so it may make sense to raise the
severity of this bug.

Antonio



More information about the Pkg-zfsonlinux-devel mailing list