[pve-devel] applied: [PATCH zfsonlinux] fix #1184: zfs-share.service has wrong path to 'rm' command

Fabian Grünbichler f.gruenbichler at proxmox.com
Thu Oct 27 11:31:51 CEST 2016


---
Tracked in Debian as https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842237

 zfs-patches/fix-rm-path-in-zfs-share-service.patch | 25 ++++++++++++++++++++++
 zfs-patches/series                                 |  1 +
 2 files changed, 26 insertions(+)
 create mode 100644 zfs-patches/fix-rm-path-in-zfs-share-service.patch

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?= <f.gruenbichler at proxmox.com>
+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=- at 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
-- 
2.1.4





More information about the pve-devel mailing list