[Samba] Issues accessing ZFS-shares on Linux

Jeremy Allison jra at samba.org
Wed Jan 10 03:19:55 UTC 2018

On Wed, Jan 10, 2018 at 04:51:23AM +0200, John Doe via samba wrote:
> I just noticed that by running by commands /usr/sbin/smbd -D or
> /usr/sbin/smbd -i without systemd's unit, all shares work perfectly so
> the problem must then be somehow related to systemd.. Let the testing
> continue..
> I also tested what happens if I comment out everything and just use
> ExecStart=/usr/sbin/smbd -D as that command worked on the console. That
> did not help.
> For the record, this is the default unit-file:
> [Unit]
> Description=Samba SMB Daemon
> Documentation=man:smbd(8) man:samba(7) man:smb.conf(5)
> After=network.target nmbd.service winbind.service
> [Service]
> Type=notify
> NotifyAccess=all
> PIDFile=/var/run/samba/smbd.pid
> LimitNOFILE=16384
> EnvironmentFile=-/etc/default/samba
> ExecStart=/usr/sbin/smbd $SMBDOPTIONS
> ExecReload=/bin/kill -HUP $MAINPID
> LimitCORE=infinity
> [Install]
> WantedBy=multi-user.target

Oh how strange. Must be something to do with systemd's mount
facility I'd guess.

More information about the samba mailing list