[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-devel
Subject:    Re: [systemd-devel] Mounting luks devices: passphrase, keyctl, etc.
From:       Carles Pina i Estany <carles () pina ! cat>
Date:       2018-08-04 22:02:23
Message-ID: 20180804220223.y6fjrrvunyws7kl2 () pina ! cat
[Download RAW message or body]


Hi,

On Aug/04/2018, Carles Pina i Estany wrote:
> 
> Hi!
> 
> TL;DR: systemd can mount a cyphered partition without entering the
> passphrase (passphrase is the same to the other partitions mounted by
> initrd). How does systemd mount it?

Answering myself: plymouth (99% sure) is caching passwords and systemd
requests the cached passwords from it. Removing plymouth I'm asked for
the passwords from the initrd (no plymouth) and then systemd for the
third partition. With plymouth in my system plymouth is asking for the
passwords and systemd can fetch it from there...

I'll dig more in the code but that is what caused all the confusion for
me!

Cheers,

-- 
Carles Pina i Estany
	Web: http://pinux.info || Blog: http://pintant.cat
	GPG Key 0x8CD5C157
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic