From 0e436da449a2942ab9b808c3bf775dc47a647dd7 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Fri, 29 Dec 2017 03:49:07 -0600 Subject: system/zfs-on-linux: Create /var/lock/zfs before lockfile This is for people who have /var/lock on tmpfs or some other non-persistent-across-reboots filesystem. Signed-off-by: Robby Workman --- system/zfs-on-linux/rc.zfs | 1 + 1 file changed, 1 insertion(+) diff --git a/system/zfs-on-linux/rc.zfs b/system/zfs-on-linux/rc.zfs index 7d818279ce..7df2057908 100644 --- a/system/zfs-on-linux/rc.zfs +++ b/system/zfs-on-linux/rc.zfs @@ -73,6 +73,7 @@ start() echo "Exporting ZFS filesystems" "$ZFS" share -a + mkdir -p $(dirname $LOCKFILE) touch "$LOCKFILE" } -- cgit v1.2.3