[Pkg-zfsonlinux-devel] Bug#1014197: zfsutils-linux: zfs-share.service does not depend on smbd.service and does not start samba shares at boot

Tim Brownawell tbrownaw-reportbug at prjek.net
Fri Jul 1 22:42:41 BST 2022


Package: zfsutils-linux
Version: 2.1.5-1
Severity: normal

Dear Maintainer,

zfs-share.service depends on smb.service, which does not exist.

At boot it happens to run before smbd.service (which it does not depend 
on), and
does not share my smb shares.

If I edit /lib/systemd/system/zfs-share.service to depend on (and
declare itself part of) smbd.service rather than smb.service, it does
automatically share my smb shares at boot.


smbd.service is /lib/systemd/system/smbd.service which is from package
samba.


+++-==============-===============-============-================================================
ii  samba          2:4.16.2+dfsg-1 amd64        SMB/CIFS file, print, 
and login server for Unix

-- System Information:
Debian Release: bookworm/sid
   APT prefers stable-updates
   APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-2-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE 
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfsutils-linux depends on:
ii  init-system-helpers  1.63
ii  libblkid1            2.38-4
ii  libc6                2.33-7
ii  libnvpair3linux      2.1.5-1
ii  libuuid1             2.38-4
ii  libuutil3linux       2.1.5-1
ii  libzfs4linux         2.1.5-1
ii  libzpool5linux       2.1.5-1
ii  python3              3.10.4-1+b1

Versions of packages zfsutils-linux recommends:
ii  lsb-base                11.2
ii  zfs-dkms [zfs-modules]  2.1.5-1
ii  zfs-zed                 2.1.5-1

Versions of packages zfsutils-linux suggests:
pn  nfs-kernel-server  <none>
ii  samba-common-bin   2:4.16.2+dfsg-1
ii  zfs-initramfs      2.1.5-1

-- Configuration Files:
/etc/sudoers.d/zfs [Errno 13] Permission denied: '/etc/sudoers.d/zfs'

-- no debconf information



More information about the Pkg-zfsonlinux-devel mailing list