mirror_zfs/contrib
наб 943df59ed9
bash_completion.d: always call zfs/zpool binaries directly
/dev/zfs is 0:0 666 on most systems, so the [ -w /dev/zfs ] check always
succeeds, but if zfs isn't in $PATH (e.g. when completing from
"/sbin/zfs list" on a regular account) this can lead to error spew like

  nabijaczleweli@szarotka:~$ /sbin/zfs list bash: zfs: command not found
  @ bash: zfs: command not found

We only do read-only commands, and quite general ones at that,
so there's no need to elevate one way or another.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11828
2021-04-02 16:34:58 -07:00
..
bash_completion.d bash_completion.d: always call zfs/zpool binaries directly 2021-04-02 16:34:58 -07:00
bpftrace Drop unnecessary srcdir paths 2020-06-24 18:20:18 -07:00
dracut dracut: Fix race condition between load-key and import 2021-01-26 12:14:22 -08:00
initramfs initramfs: zfsunlock hook breaks /usr/bin 2020-11-10 11:12:07 -08:00
intel_qat Add intel_QAT patches 2020-09-30 13:17:30 -07:00
pam_zfs_key pam_zfs_key: accommodate different dataset naming scheme 2020-11-22 09:32:34 -08:00
pyzfs Fix typo in Python method name 2021-03-22 12:32:38 -07:00
zcp Fix contrib/zcp/Makefile.am 2019-10-30 12:37:49 -07:00
Makefile.am pam: implement a zfs_key pam module 2020-06-24 18:45:44 -07:00