From 9000a9fac950d2e2c9578d760dd775ac1ceaa507 Mon Sep 17 00:00:00 2001 From: LOLi Date: Mon, 21 Aug 2017 18:31:54 +0200 Subject: Disable mount(8) canonical paths in do_mount() By default the mount(8) command, as invoked by 'zfs mount', will try to resolve any path parameter in its canonical form: this could lead to mount failures when the cwd contains a symlink having the same name of the dataset being mounted. Fix this by explicitly disabling mount(8) path canonicalization. Reviewed-by: George Melikov Reviewed-by: Brian Behlendorf Signed-off-by: loli10K Closes #1791 Closes #6429 Closes #6437 --- etc/systemd/system/zfs-mount.service.in | 1 - 1 file changed, 1 deletion(-) (limited to 'etc') diff --git a/etc/systemd/system/zfs-mount.service.in b/etc/systemd/system/zfs-mount.service.in index 36dc3be50..0664fd9e7 100644 --- a/etc/systemd/system/zfs-mount.service.in +++ b/etc/systemd/system/zfs-mount.service.in @@ -11,7 +11,6 @@ Before=local-fs.target Type=oneshot RemainAfterExit=yes ExecStart=@sbindir@/zfs mount -a -WorkingDirectory=-/sbin/ [Install] WantedBy=zfs-share.service -- cgit v1.2.3