Control: tag -1 unreproducible moreinfo Hi,
On Mon, 27 Mar 2023 at 12:35:39 +0200, Alexis Huxley wrote:
> testaroli# cryptsetup isLuks -v /dev/zvol/zpool0/test
> Command failed with code -1 (wrong or missing parameters).
> testaroli# cryptsetup -v isLuks /dev/zvol/zpool0/test
> Command failed with code -1 (wrong or missing parameters).
> testaroli# cryptsetup isLuks /dev/zvol/zpool0/test -v
> Command failed with code -1 (wrong or missing parameters).
> testaroli#
>
> All fail.
All 3 work for me in a bookworm VM, please try with `--debug` (with and
without `-v`).
~# dpkg -l | grep cryptsetup
ii cryptsetup-bin 2:2.6.1-3~deb12u1 amd64 disk
encryption support - command line tools
ii libcryptsetup12:amd64 2:2.6.1-3~deb12u1 amd64 disk
encryption support - shared library
~# dd if=/dev/zero bs=1M count=64 of=/tmp/disk.img
~# losetup -f /tmp/disk.img
~# cryptsetup luksFormat -q /dev/loop0 <<<test
~# cryptsetup isLuks /dev/loop0; echo "\`cryptsetup isLuks\` exited with
status $?"
`cryptsetup isLuks` exited with status 0
~# cryptsetup isLuks -v /dev/loop0
Command successful.
~# cryptsetup -v isLuks /dev/loop0
Command successful.
~# cryptsetup isLuks /dev/loop0 -v
Command successful.
--
Guilhem.
signature.asc
Description: PGP signature

