zfs share doesn't work

Bug #1615405 reported by Ryan Babchishin
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Native ZFS for Linux
Fix Released
Unknown
zfs-linux (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

I'm testing on Ubuntu 16.04 with the included zol 0.6.5.

I have also reported this bug here: https://github.com/zfsonlinux/zfs/issues/4999

zfs share and zfs share -a just don't work. zfs set sharesmb=on pool/dataset works fine. I discovered that the shares are listed in /etc/dfs/sharetab but don't work. If I reboot or anything and try to share them again with zfs share, it will not work. net usershare list displays nothing. And of course because of this all shares are lost on every reboot.

Despite a dataset having the sharesmb=on value set, it will not share with zfs share -a and if I use zfs share pool/dataset it says: cannot share 'pool/dataset': filesystem already shared, when net usershare list shows nothing**. Samba is running and the shares appear in /etc/dfs/sharetab, not that that is helping me.

I've detailed a bunch of stuff at serverfault... if that's not good enough, I can bring some of it over here:

http://serverfault.com/questions/797938/ubuntu-xenial-16-04-zfs-share-command-doesnt-work-for-smb-shares

System/package informatiom

zfsutils-linux:
  Installed: 0.6.5.6-0ubuntu12
  Candidate: 0.6.5.6-0ubuntu12
  Version table:
 *** 0.6.5.6-0ubuntu12 500
        500 http://ca.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.6.5.6-0ubuntu8 500
        500 http://ca.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

Description: Ubuntu 16.04.1 LTS
Release: 16.04

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: zfsutils-linux 0.6.5.6-0ubuntu12
ProcVersionSignature: Ubuntu 4.4.0-34.53-generic 4.4.15
Uname: Linux 4.4.0-34-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sun Aug 21 12:11:47 2016
InstallationDate: Installed on 2016-05-26 (87 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3)
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.default.zfs: [modified]
mtime.conffile..etc.default.zfs: 2016-07-12T22:45:19.830513

Revision history for this message
Ryan Babchishin (rbabchis) wrote :
Revision history for this message
Ryan Babchishin (rbabchis) wrote :

I submitted this bug here also https://github.com/zfsonlinux/zfs/issues/4999

Revision history for this message
Colin Ian King (colin-king) wrote :

I've asked for an update on the status of this big in the zfs bug tracker as it seems to have gone no where.

Changed in zfs-linux (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Colin Ian King (colin-king) wrote :

Still no update from upstream.

Changed in zfs-linux (Ubuntu):
assignee: nobody → Colin Ian King (colin-king)
Changed in zfs:
status: Unknown → New
Revision history for this message
Colin Ian King (colin-king) wrote :

..still no upstream update on this.

Changed in zfs-linux (Ubuntu):
importance: Low → Wishlist
Changed in zfs-linux (Ubuntu):
assignee: Colin Ian King (colin-king) → nobody
Revision history for this message
Aron Xu (happyaron) wrote :

Should be fixed at least since 20.04 LTS

Changed in zfs-linux (Ubuntu):
status: Triaged → Fix Released
Changed in zfs:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.