Bug#996177: cryptsetup: please report fatal errors without having to use -v

2021-10-14 Thread Guilhem Moulin
On Thu, 14 Oct 2021 at 20:48:51 +0200, Marc Lehmann wrote: > I reported this from another system, but both were recently upgraded to > bullseye. > > I know because I use kvm to see if the machine will actually boot (Cthus > the different memory setup) and the kvm in bullseye has a bug that makes

Bug#996177: cryptsetup: please report fatal errors without having to use -v

2021-10-14 Thread Marc Lehmann
On Tue, Oct 12, 2021 at 02:25:31AM +0200, Guilhem Moulin wrote: > > Also did you run luksFormat on that same machine (and didn't remove > > memory sticks afterwards)? > > I was actually able to reproduce this with buster's 2.1.0, but doing the > same thing after upgrading to bullseye or sid

Bug#996177: cryptsetup: please report fatal errors without having to use -v

2021-10-14 Thread Guilhem Moulin
On Thu, 14 Oct 2021 at 19:53:14 +0200, Marc Lehmann wrote: > On Tue, Oct 12, 2021 at 12:33:32AM +0200, Guilhem Moulin > wrote: >> Could you please share the memory cost of the PBKDF, > > I wouldn't know how to do that. `cryptsetup luksDump` >> of `free` just before running cryptsetup? That

Bug#996177: cryptsetup: please report fatal errors without having to use -v

2021-10-14 Thread Marc Lehmann
On Tue, Oct 12, 2021 at 12:33:32AM +0200, Guilhem Moulin wrote: > Could you please share the memory cost of the PBKDF, I wouldn't know how to do that. > of `free` just before running cryptsetup? That would help us trying to > reproduce this and forward the issue upstream. I tried to

Bug#996177: cryptsetup: please report fatal errors without having to use -v

2021-10-11 Thread Guilhem Moulin
Control: found -1 2:2.1.0-5+deb10u2 On Tue, 12 Oct 2021 at 00:33:32 +0200, Guilhem Moulin wrote: > On Mon, 11 Oct 2021 at 22:09:07 +0200, Marc Lehmann wrote: >> Specifically, the machine didn't have enough ram, probably because the >> default algorithm (argon) requires more ram than the machine

Bug#996177: cryptsetup: please report fatal errors without having to use -v

2021-10-11 Thread Guilhem Moulin
Control: tag -1 moreinfo Hi, On Mon, 11 Oct 2021 at 22:09:07 +0200, Marc Lehmann wrote: > Specifically, the machine didn't have enough ram, probably because the > default algorithm (argon) requires more ram than the machine had. Could you please share the memory cost of the PBKDF, and also the

Bug#996177: cryptsetup: please report fatal errors without having to use -v

2021-10-11 Thread Milan Broz
On 11/10/2021 22:09, Marc Lehmann wrote: > > Specifically, the machine didn't have enough ram, probably because the > default algorithm (argon) requires more ram than the machine had. > > Unfortunately, cryptsetup silently fails - you get a password prompt, youc > an enter any password, your

Bug#996177: cryptsetup: please report fatal errors without having to use -v

2021-10-11 Thread Marc Lehmann
Package: cryptsetup Version: 2:2.3.5-1 Severity: wishlist Dear Maintainer, I just had a somewhat lengthy initramfs debug issue caused by some suboptimal cryptsetup behaviour. Specifically, the machine didn't have enough ram, probably because the default algorithm (argon) requires more ram than