Verified with ubuntu Zesty 17.04 with zfsutils-linux 0.6.5.9-5ubuntu4.1 with ZFS shared over NFS, rm now works:
systemctl status zfs-share.service ● zfs-share.service - ZFS file system shares Loaded: loaded (/lib/systemd/system/zfs-share.service; enabled; vendor preset Active: active (exited) since Wed 2017-05-31 14:22:31 BST; 6min ago Process: 2483 ExecStart=/sbin/zfs share -a (code=exited, status=0/SUCCESS) Process: 2476 ExecStartPre=/bin/rm -f /etc/dfs/sharetab (code=exited, status=0 Main PID: 2483 (code=exited, status=0/SUCCESS) Tasks: 0 (limit: 4915) Memory: 0B CPU: 0 CGroup: /system.slice/zfs-share.service
Verified with ubuntu Zesty 17.04 with zfsutils-linux 0.6.5.9-5ubuntu4.1 with ZFS shared over NFS, rm now works:
systemctl status zfs-share.service system/ zfs-share. service; enabled; vendor preset /bin/rm -f /etc/dfs/sharetab (code=exited, status=0 slice/zfs- share.service
● zfs-share.service - ZFS file system shares
Loaded: loaded (/lib/systemd/
Active: active (exited) since Wed 2017-05-31 14:22:31 BST; 6min ago
Process: 2483 ExecStart=/sbin/zfs share -a (code=exited, status=0/SUCCESS)
Process: 2476 ExecStartPre=
Main PID: 2483 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
Memory: 0B
CPU: 0
CGroup: /system.