On 14/10/2020 13.39, Ralph wrote:
Hello!
Some strangeness in a fresh install of Leap 15.2 on a system with multiple LUKS partitions mounted at boot, all owning the same password.
Normal boot and plymouth(?) displays a neon green text line on a blank background asking for the LUKS password for swap. After entering pw, plymouth(?) then displays three neon green blocks for several seconds. Remaining three LUKS partitions are invisibly mounted without further prompting and system boots into graphical mode.
Boot with plymouth.enable=0 and I get the text display, as expected and usual in previous revs, but then I get prompted for passwords for all 4 partitions, even though they all have the same password. This used to be buffered and pw retried on additional partitions first before system would ask for any needed additional pw. Not now, apparently.
What is happening here? No 'you must immediately delete plymouth from the system' suggestions, please ;)
(I do delete plymouth from all my systems :-p ) Well, what you see is the expected behaviour, and I have seen it for years. plymouth captures and caches the passphrase for using it on other partitions. If plymouth is disabled, then nothing does the same job. There is a trick, which is to add to all LUKS partitions another key, stored in a file, which resides in the first partition to be opened. On boot, that partition is opened, and the other partitions use that keyfile to be opened without prompting for the passphrase. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)