Public bug reported:

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

** Affects: zfs-linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1615405

Title:
  zfs share doesn't work

Status in zfs-linux package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1615405/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to