![](https://seccdn.libravatar.org/avatar/0e482cdf263bd0e0421da766878b774c.jpg?s=120&d=mm&r=g)
On 14/10/2020 23.42, tomas.kuchta.lists@gmail.com wrote:
On Wed, 2020-10-14 at 20:42 +0300, Andrei Borzenkov wrote:
I observe the same "annoying" behavior - having to enter disk encryption password two times - in grub and at swap activation during boot. My install is default Leap 15.2 install with encrypted disk (default = 2 encrypted partitions = btrfs file system + swap)
I have never questioned it as I thought that this is unavoidable in openSuSE - and assumed that the other distro's which do not need this are cutting some security corners for the sake of convenience.
Now that you remind me how annoying this actually is - I might get rid off swap partition altogether and setup swap file (with disabled COW) instead. It will cost performance, but it really bothers me to watch the laptop boot every time.
The trick I mentioned before solves or bypasses this issue for me. I was not aware that systemd should cache it. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)