On Thu, 26 Nov 2020 14:15:23 +1100 "Trent W. Buck" <trentb...@gmail.com> wrote:
> This quick-and-dirty fix seems to work for me:
> 
>     root@odin:~# systemctl cat nfs-kernel-server
>     # /lib/systemd/system/nfs-server.service
>     [...]
> 
>     # /etc/systemd/system/nfs-server.service.d/zfsutils-linux.conf
>     # If you configure NFS exports in "zfs set sharenfs",
>     # this will remove all your NFS shares!
>     #
>     #     systemctl stop nfs-kernel-server
>     #     systemctl start nfs-kernel-server
>     #
>     # This is an attempt at a quick fix.
>     [Service]
>     ExecStartPost=/sbin/zfs share -a
> 
> 

Hm, I assume this triggers the mount of ZFS volumes.
While I understand the motivation for the stop+start nfs-server.service
case, what happens during boot?
Does this have the potential to trigger the mount at a time when not
all dependencies are ready?

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to