[pkg-cryptsetup-devel] Bug#1033551: cryptsetup-bin: cryptsetup -v isLuks: doesn't work as documented
Guilhem Moulin
guilhem at debian.org
Mon Mar 27 12:15:39 BST 2023
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20230327/1249cdb6/attachment.sig>
More information about the pkg-cryptsetup-devel
mailing list