[Pkg-zfsonlinux-devel] Bug#1082365: zfsutils-linux: postinst doesn't contain the auto-generated part to enable the services

Viktor Abrams v.abrams at mittwald.de
Fri Sep 20 12:18:34 BST 2024


Package: zfsutils-linux
Version: 2.2.6-1~bpo12+1
Severity: normal
X-Debbugs-Cc: v.abrams at mittwald.de

Dear Maintainer,

in the previous version of the package <= 2.2.5 the postinst scripts contained auto-generated part to enable the services i.e.

> # Automatically added by dh_installsystemd/13.11.4
> if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
>         # The following line should be removed in trixie or trixie+1
>         deb-systemd-helper unmask 'zfs-mount.service' >/dev/null || true
> 
>         # was-enabled defaults to true, so new installations run enable.
>         if deb-systemd-helper --quiet was-enabled 'zfs-mount.service'; then
>                 # Enables the unit on first installation, creates new
>                 # symlinks on upgrades if the unit file has changed.
>                 deb-systemd-helper enable 'zfs-mount.service' >/dev/null || true
>         else
>                 # Update the statefile to add new symlinks (if any), which need to be
>                 # cleaned up on purge. Also remove old symlinks.
>                 deb-systemd-helper update-state 'zfs-mount.service' >/dev/null || true
>         fi
> fi
> # End automatically added section

Is there a reason for this change or is it a bug?

Thank you very much for packaging!

Greetings
Viktor Abrams

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

Kernel: Linux 6.10.6+bpo-amd64 (SMP w/64 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.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.65.2
ii  libblkid1            2.38.1-5+deb12u1
ii  libc6                2.36-9+deb12u8
ii  libnvpair3linux      2.2.6-1~bpo12+1
ii  libssl3              3.0.14-1~deb12u2
ii  libudev1             252.30-1~deb12u2
ii  libuuid1             2.38.1-5+deb12u1
ii  libuutil3linux       2.2.6-1~bpo12+1
ii  libzfs4linux         2.2.6-1~bpo12+1
ii  libzpool5linux       2.2.6-1~bpo12+1
ii  python3              3.11.2-1+b1

Versions of packages zfsutils-linux recommends:
ii  zfs-modules [zfs-dkms]            2.2.6-1~bpo12+1
ii  zfs-modules-backports [zfs-dkms]  2.2.6-1~bpo12+1
pn  zfs-zed                           <none>

Versions of packages zfsutils-linux suggests:
pn  nfs-kernel-server  <none>
pn  samba-common-bin   <none>
ii  zfs-initramfs      2.2.6-1~bpo12+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