diff --git a/zfs-patches/fix-rm-path-in-zfs-share-service.patch b/zfs-patches/fix-rm-path-in-zfs-share-service.patch new file mode 100644 index 0000000..27a8ea9 --- /dev/null +++ b/zfs-patches/fix-rm-path-in-zfs-share-service.patch @@ -0,0 +1,25 @@ +From 5ed5dcf71824eaee71726dbbefe68e42f9b79938 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= +Date: Thu, 27 Oct 2016 10:18:55 +0200 +Subject: [PATCH] fix rm path in zfs-share.service + +--- + etc/systemd/system/zfs-share.service.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/etc/systemd/system/zfs-share.service.in b/etc/systemd/system/zfs-share.service.in +index 688731e..494f5cb 100644 +--- a/etc/systemd/system/zfs-share.service.in ++++ b/etc/systemd/system/zfs-share.service.in +@@ -9,7 +9,7 @@ PartOf=smb.service + [Service] + Type=oneshot + RemainAfterExit=yes +-ExecStartPre=-@bindir@/rm -f /etc/dfs/sharetab ++ExecStartPre=-/bin/rm -f /etc/dfs/sharetab + ExecStart=@sbindir@/zfs share -a + + [Install] +-- +2.1.4 + diff --git a/zfs-patches/series b/zfs-patches/series index 1727f18..adf32c8 100644 --- a/zfs-patches/series +++ b/zfs-patches/series @@ -2,3 +2,4 @@ fix-control.patch add-zfsutils-preinst-postinst.patch fix-dependencies-for-upgrades.patch import-by-disk-id.patch +fix-rm-path-in-zfs-share-service.patch