]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix encryption logic in systemd mount generator
authorInsanePrawn <insane.prawny@gmail.com>
Fri, 22 Nov 2019 17:53:51 +0000 (18:53 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 27 Nov 2019 18:54:49 +0000 (10:54 -0800)
commitc940bf0c37dd4b644618e13631c74b67f68d7002
tree4b83f4a80e233eb5ee2c3ee6e5a4fbccf7a0ca2a
parent70d2dd922b3b8802e9549d8ef3276dce7d9f322b
Fix encryption logic in systemd mount generator

Previously the generator would skip a dataset if it wasn't mountable by
'zfs mount -a' (legacy/none mountpoint, canmount off/noauto). This also
skipped the generation of key-load units for such datasets, breaking
the dependency handling for mountable child datasets.

Reviewed-by: Antonio Russo <antonio.e.russo@gmail.com>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: InsanePrawn <insane.prawny@gmail.com>
Closes #9611
etc/systemd/system-generators/zfs-mount-generator.in