[Pkg-zfsonlinux-devel] Bug#1074597: zfsutils-linux: zpool <TAB> completion only works after running zfs <TAB>

Impact support at gugy.eu
Mon Jul 1 20:51:14 BST 2024


Package: zfsutils-linux
Version: 2.2.4-2
Severity: normal
X-Debbugs-Cc: support at gugy.eu

Dear Maintainer,

I noticed that the zpool <TAB> completion does not properly work until after one has already run zfs <TAB>.
This seems to be due to the fact that /usr/share/bash-completion/completions/zpool does not exist but /usr/share/bash-completion/completions/zfs does.
A simple "fix" that worked for me is to symlink /usr/share/bash-completion/completions/zfs to /usr/share/bash-completion/completions/zpool or sourcing the /usr/share/bash-completion/completions/zfs file.


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

Kernel: Linux 6.8.12-amd64 (SMP w/4 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=en_US:en
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.66
ii  libblkid1            2.40.1-9
ii  libc6                2.38-13
ii  libnvpair3linux      2.2.4-2
ii  libssl3t64           3.2.2-1
ii  libudev1             256.1-2
ii  libuuid1             2.40.1-9
ii  libuutil3linux       2.2.4-2
ii  libzfs4linux         2.2.4-2
ii  libzpool5linux       2.2.4-2
ii  python3              3.11.8-1

Versions of packages zfsutils-linux recommends:
ii  zfs-dkms [zfs-modules]  2.2.4-2
ii  zfs-zed                 2.2.4-2

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

-- no debconf information



More information about the Pkg-zfsonlinux-devel mailing list