Verify zfs module loaded before starting services
commitb2a54a28b5ebad7165bbf10bd4de8066a6bf335d
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sat, 28 Nov 2020 19:11:18 +0000 (28 11:11 -0800)
committerGitHub <noreply@github.com>
Sat, 28 Nov 2020 19:11:18 +0000 (28 11:11 -0800)
tree537dcd27423294dc8318b36ee6745e1833778d49
parent16692e6ba0bc3b0b6e7d64a68e91ded9f2d0959e
Verify zfs module loaded before starting services

Extend the change made in ae12b02 to verify the zfs kernel
modules are loaded to the rest of the OpenZFS services.  If
the modules aren't loaded the neither the share, volume, or
and zed services can be started.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #11243
etc/systemd/system/zfs-share.service.in
etc/systemd/system/zfs-volume-wait.service.in
etc/systemd/system/zfs-zed.service.in