Your message dated Fri, 5 Jan 2024 18:30:04 +0000
with message-id <55bbe801-5f8b-4e80-8142-687585fba...@outlook.com>
and subject line Closing bug #979434
has caused the Debian Bug report #979434,
regarding zfsutils-linux: fails to install if zfs module is not loaded
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
979434: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979434
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: zfsutils-linux
Version: 0.8.6-1
Severity: normal
X-Debbugs-Cc: andreimpope...@gmail.com

Dear Maintainer,


During install the package tries to start nfs-share.service, which fails 
in case the zfs module is not loaded, for whatever reason[1].


As far as I can tell the start of nfs-share.service is due to

    WantedBy=zfs.target

which is started in postinst.


A quick fix could be to add a condition like for zfs-mount.service, etc.

   ConditionPathIsDirectory=/sys/module/zfs



[1] For some reason when installing the buster-backports package on 
buster the postinst of zfsutils-linux is run before attempting to build 
the zfs module, so this bug is always triggered if installing the 
package by itself (even though dkms-zfs is also installed in the dame 
run, due to the Recommends).


Kind regards,
Andrei


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: arm64 (aarch64)

Kernel: Linux 5.9.0-5-arm64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_CRAP, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.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  libblkid1        2.36.1-4
ii  libc6            2.31-9
ii  libnvpair1linux  0.8.6-1
ii  libuuid1         2.36.1-4
ii  libuutil1linux   0.8.6-1
ii  libzfs2linux     0.8.6-1
ii  libzpool2linux   0.8.6-1
ii  python3          3.9.1-1

Versions of packages zfsutils-linux recommends:
ii  lsb-base                11.1.0
ii  zfs-dkms [zfs-modules]  0.8.6-1
pn  zfs-zed                 <none>

Versions of packages zfsutils-linux suggests:
ii  nfs-kernel-server           1:1.3.4-4
pn  samba-common-bin            <none>
pn  zfs-initramfs | zfs-dracut  <none>

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

-- no debconf information

--- End Message ---
--- Begin Message ---
Control: notfound -1 zfs-linux/2.0.3-1
Control: tags -1 = fixed

> During install the package tries to start nfs-share.service, which fails 
> in case the zfs module is not loaded, for whatever reason[1].

Now it will not be started.

> Job for zfs-load-module.service failed because the control process exited 
> with error code.

The errors now reported by systemd are expected when no zfs.ko could be found.
Just disable / mask the services / targets if you do not (and *intended* not 
to) have zfs modules installed.

Thanks,
Shengqi Chen


--- End Message ---

Reply via email to